summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-28 12:29:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-28 12:29:04 +0000
commitd8628f8d2135b32eb260f90e9cfc9cc5552aa822 (patch)
tree5ce93bc5ca142e5d279e1bf90a6e966ea2be689d /svtools
parent196bff8648855bfcc528f50d6900f5256e33de67 (diff)
cppcheck: use prefix variant
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/unoimap.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx
index 924654907fdc..3d10bb97167c 100644
--- a/svtools/source/uno/unoimap.cxx
+++ b/svtools/source/uno/unoimap.cxx
@@ -660,7 +660,7 @@ void SAL_CALL SvUnoImageMap::insertByIndex( sal_Int32 Index, const Any& Element
{
std::list< SvUnoImageMapObject* >::iterator aIter = maObjectList.begin();
for( sal_Int32 n = 0; n < Index; n++ )
- aIter++;
+ ++aIter;
maObjectList.insert( aIter, pObject );
}
@@ -681,7 +681,7 @@ void SAL_CALL SvUnoImageMap::removeByIndex( sal_Int32 Index ) throw(IndexOutOfBo
{
std::list< SvUnoImageMapObject* >::iterator aIter = maObjectList.begin();
for( sal_Int32 n = 0; n < Index; n++ )
- aIter++;
+ ++aIter;
(*aIter)->release();
maObjectList.erase( aIter );
@@ -698,7 +698,7 @@ void SAL_CALL SvUnoImageMap::replaceByIndex( sal_Int32 Index, const Any& Element
std::list< SvUnoImageMapObject* >::iterator aIter = maObjectList.begin();
for( sal_Int32 n = 0; n < Index; n++ )
- aIter++;
+ ++aIter;
(*aIter)->release();
*aIter = pObject;
@@ -719,7 +719,7 @@ Any SAL_CALL SvUnoImageMap::getByIndex( sal_Int32 Index ) throw(IndexOutOfBounds
std::list< SvUnoImageMapObject* >::iterator aIter = maObjectList.begin();
for( sal_Int32 n = 0; n < Index; n++ )
- aIter++;
+ ++aIter;
Reference< XPropertySet > xObj( *aIter );
return makeAny( xObj );
@@ -778,7 +778,7 @@ sal_Bool SvUnoImageMap::fillImageMap( ImageMap& rMap ) const
rMap.InsertIMapObject( *pNewMapObject );
delete pNewMapObject;
- aIter++;
+ ++aIter;
}
return sal_True;