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

List:       kde-commits
Subject:    koffice/lib/kotext
From:       David Faure <faure () kde ! org>
Date:       2005-12-19 10:24:53
Message-ID: 1134987893.190049.31794.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 489616 by dfaure:

Fix clear() not clearing the lists


 M  +2 -0      KoUserStyleCollection.cpp  


--- trunk/koffice/lib/kotext/KoUserStyleCollection.cpp #489615:489616
@@ -82,6 +82,8 @@
         delete *styleIt;
     for ( QValueList<KoUserStyle *>::const_iterator styleIt = \
m_deletedStyles.begin(), styleEnd = m_deletedStyles.end() ; styleIt != styleEnd ; \
++styleIt )  delete *styleIt;
+    m_styleList.clear();
+    m_deletedStyles.clear();
     m_lastStyle = 0;
 }
 


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

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