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

List:       kde-commits
Subject:    koffice/libs/kotext/opendocument
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2007-07-18 22:52:28
Message-ID: 1184799148.373172.32696.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 689710 by sebsauer:

fix crash on loading the OpenDocument-v1.2-draft3.odt

 M  +2 -1      KoTextLoader.cpp  


--- trunk/koffice/libs/kotext/opendocument/KoTextLoader.cpp #689709:689710
@@ -605,7 +605,8 @@
             props.setLevel(0);
             listStyle->setLevel(props);
         }
-        listStyle->applyStyle(current, level);
+        if( prev != current )
+            listStyle->applyStyle(current, level);
     }
 
     // set the list level back to the previous value
[prev in list] [next in list] [prev in thread] [next in thread] 

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