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

List:       kde-commits
Subject:    koffice/libs/kotext/opendocument
From:       Thomas Zander <zander () kde ! org>
Date:       2010-09-11 11:34:30
Message-ID: 20100911113430.43F2EAC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1174139 by zander:

Fix warning to be shown properly

 M  +1 -0      KoTextLoader.cpp  


--- trunk/koffice/libs/kotext/opendocument/KoTextLoader.cpp #1174138:1174139
@@ -427,6 +427,7 @@
         if (!styleName.isEmpty())
             kWarning(32500) << "paragraph style " << styleName << "not found - using default style";
         paragraphStyle = d->styleManager->defaultParagraphStyle();
+        if (paragraphStyle == 0)
         kWarning(32500) << "defaultParagraphStyle not found - using default style";
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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