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

List:       kde-commits
Subject:    koffice/kspread (silent)
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2010-01-07 21:43:32
Message-ID: 1262900612.900044.27693.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1071349 by staniek:

SVN_SILENT simplify


 M  +2 -2      Cell.cpp  


--- trunk/koffice/kspread/Cell.cpp #1071348:1071349
@@ -586,7 +586,7 @@
 
 QString Cell::decodeFormula(const QString &_text) const
 {
-    QString erg = "";
+    QString erg;
     unsigned int pos = 0;
     const unsigned int length = _text.length();
 
@@ -1420,7 +1420,7 @@
 
                 kDebug(36003) << "Num:" << num;
 
-                num = "";
+                num.clear();
                 if (!ok)
                     break;
             }
[prev in list] [next in list] [prev in thread] [next in thread] 

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