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

List:       kde-commits
Subject:    koffice/lib/kofficecore
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2005-11-02 23:50:29
Message-ID: 1130975429.442791.31032.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 477089 by fedemar:

Make the document info saving in the old XML format work again.


 M  +3 -1      koDocumentInfo.cc  


--- trunk/koffice/lib/kofficecore/koDocumentInfo.cc #477088:477089
@@ -106,9 +106,11 @@
         Q_ASSERT( p );
         QDomElement s = p->save( doc );
         if ( s.isNull() )
-            return QDomDocument();
+            continue;
         e.appendChild( s );
     }
+    if ( e.isNull() )
+      return QDomDocument();
 
     return doc;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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