[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/functions
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2009-12-29 0:14:27
Message-ID: 1262045667.275849.24416.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1067140 by sebsauer:

Fix ASC function. Its just onversation to single byte chars and NOT the text "FIXME ASC()" :-/



 M  +2 -3      text.cpp  


--- trunk/koffice/kspread/functions/text.cpp #1067139:1067140
@@ -202,9 +202,8 @@
 // Function: ASC
 Value func_asc(valVector args, ValueCalc *calc, FuncExtra *)
 {
-    Q_UNUSED(args);
-    Q_UNUSED(calc);
-    return Value(QString("FIXME ASC()"));
+    QString s = calc->conv()->asString(args[0]).asString();
+    return Value(QString(s));
 }
 
 // Function: CHAR
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic