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

List:       kde-commits
Subject:    koffice/tools/kfile-plugins/koffice
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-02-27 15:41:44
[Download RAW message or body]

CVS commit by antlarr: 

Replaced comparison to "" and isNull() with isEmpty()


  M +1 -1      kfile_koffice.cpp   1.3


--- koffice/tools/kfile-plugins/koffice/kfile_koffice.cpp  #1.2:1.3
@@ -102,5 +102,5 @@ QString KOfficePlugin::stringFromNode(QD
 {
     QString value = node.namedItem(name).toElement().text();
-    return value.isNull() || value == "" ? i18n("*Unknown*") : value;
+    return value.isEmpty() ? i18n("*Unknown*") : value;
 }
 


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

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