[Libreoffice-commits] .: binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 1 12:49:50 PST 2011


 binfilter/bf_xmloff/source/draw/xmloff_shapeexport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e628a4967d1eed10dcacbf7bb44ce4ecd996e78b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 20:49:44 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/binfilter/bf_xmloff/source/draw/xmloff_shapeexport.cxx b/binfilter/bf_xmloff/source/draw/xmloff_shapeexport.cxx
index b31921e..81d9d45 100644
--- a/binfilter/bf_xmloff/source/draw/xmloff_shapeexport.cxx
+++ b/binfilter/bf_xmloff/source/draw/xmloff_shapeexport.cxx
@@ -285,7 +285,7 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
             {
                 if( aIter->mnIndex != -1 )
                     nCount++;
-                aIter++;
+                ++aIter;
             }
         }
 
@@ -352,7 +352,7 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
             {
                 if( aIter->mnIndex != -1 )
                     nCount++;
-                aIter++;
+                ++aIter;
             }
 
             if( nCount )


More information about the Libreoffice-commits mailing list