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

List:       kde-commits
Subject:    koffice/kchart
From:       Laurent Montel <montel () kde ! org>
Date:       2009-01-15 12:40:17
Message-ID: 1232023217.829727.5829.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 911386 by mlaurent:

Fix iterator


 M  +1 -1      KChartPart.cpp  


--- trunk/koffice/kchart/KChartPart.cpp #911385:911386
@@ -991,7 +991,7 @@
 {
     QList<KoGenStyles::NamedStyle>  styles = mainStyles.styles( KoGenStyle::StyleAuto );
     QList<KoGenStyles::NamedStyle>::const_iterator  it;
-    for ( it = styles.begin(); it != styles.end(); ++it ) {
+    for ( it = styles.constBegin(); it != styles.constEnd(); ++it ) {
         kDebug() << "Style: " << (*it).name;
         (*it).style->writeStyle( &contentWriter, mainStyles, "style:style",
                                  (*it).name, "style:chart-properties" );
[prev in list] [next in list] [prev in thread] [next in thread] 

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