summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 15:11:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 16:39:03 +0000
commit6f907f872fec59fa3ae9e603ab4c8a6c5eadcda5 (patch)
treea97fa5b1cd911911ce5af553185c503d9d322e3e /xmloff
parent40ad62d8caef4e287e521882a4d82efc6fe1f442 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeimport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 1c960bdbd1..68cd2a594e 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;
}
}
}