[Libreoffice-commits] .: filter/source

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


 filter/source/msfilter/escherex.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 24c3fb81435195bafa6b21f5598514492a7b7f16
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 30 21:21:14 2010 +0000

    cppcheck: prefer prefix variant

diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 2ef33fa..04b0760 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -2138,7 +2138,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape,
                     }
                     nMask <<= 1;
                 }
-                aIter++;
+                ++aIter;
             }
         }
     }
@@ -2598,7 +2598,7 @@ void EscherPropertyContainer::CreateCustomShapeProperties( const MSO_SPT eShapeT
                                      << (sal_Int16)aIter->nPara[ 0 ]
                                      << (sal_Int16)aIter->nPara[ 1 ]
                                      << (sal_Int16)aIter->nPara[ 2 ];
-                                aIter++;
+                                ++aIter;
                             }
                             sal_uInt8* pBuf = new sal_uInt8[ nStreamSize ];
                             memcpy( pBuf, aOut.GetData(), nStreamSize );


More information about the Libreoffice-commits mailing list