[Libreoffice-commits] .: oox/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Dec 30 13:06:30 PST 2010


 oox/source/drawingml/textliststyle.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 555782287d1bf3f748419d0d1daf65a1b9dc5814
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 30 21:06:25 2010 +0000

    cppcheck: prefer prefix variant

diff --git a/oox/source/drawingml/textliststyle.cxx b/oox/source/drawingml/textliststyle.cxx
index 2f48719..3235958 100644
--- a/oox/source/drawingml/textliststyle.cxx
+++ b/oox/source/drawingml/textliststyle.cxx
@@ -52,11 +52,11 @@ void applyStyleList( const TextParagraphPropertiesVector& rSourceListStyle, Text
         if ( aDestListStyleIter != rDestListStyle.end() )
         {
             (*aDestListStyleIter)->apply( **aSourceListStyleIter );
-            aDestListStyleIter++;
+            ++aDestListStyleIter;
         }
         else
             rDestListStyle.push_back( TextParagraphPropertiesPtr( new TextParagraphProperties( **aSourceListStyleIter ) ) );
-        aSourceListStyleIter++;
+        ++aSourceListStyleIter;
     }
 }
 


More information about the Libreoffice-commits mailing list