diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 15:11:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 16:39:03 +0000 |
commit | 61ba406746a3ea2404730dd927796eb29dde499c (patch) | |
tree | 4afc46cb69be1cb6f16e1f0b4c009a1de207dc4a /xmloff | |
parent | 4cd2104c226f6794e552a0ec3f5ecc4a0c341a14 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 1df4675e7bd8..418ec8565363 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -1134,7 +1134,7 @@ void ShapeSortContext::moveShape( sal_Int32 nSourcePos, sal_Int32 nDestPos ) DBG_ASSERT( (*aIter).nIs >= nDestPos, "Shape sorting failed" ); (*aIter).nIs++; } - aIter++; + ++aIter; } aIter = maUnsortedList.begin(); @@ -1147,7 +1147,7 @@ void ShapeSortContext::moveShape( sal_Int32 nSourcePos, sal_Int32 nDestPos ) DBG_ASSERT( (*aIter).nIs >= nDestPos, "shape sorting failed" ); (*aIter).nIs++; } - aIter++; + ++aIter; } } } @@ -1379,7 +1379,7 @@ void XMLShapeImportHelper::moveGluePointMapping( const com::sun::star::uno::Refe { if ( (*aShapeIdIter).second != -1 ) (*aShapeIdIter).second += n; - aShapeIdIter++; + ++aShapeIdIter; } } } |