summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-19 15:21:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-19 15:21:43 +0000
commita92a8f30e9a8a1064e35a195766a98afe8b9d94d (patch)
treeb6de36fe0750f1e2280bd98283884005485a23ad /sdext
parent5e429d679c2154a5b4601cde132021f9bf23d607 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/pagecollector.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/minimizer/pagecollector.cxx b/sdext/source/minimizer/pagecollector.cxx
index e9f733533475..101582c9983a 100644
--- a/sdext/source/minimizer/pagecollector.cxx
+++ b/sdext/source/minimizer/pagecollector.cxx
@@ -75,7 +75,7 @@ void PageCollector::CollectCustomShowPages( const com::sun::star::uno::Reference
{
if ( *aIter == xDrawPage )
break;
- aIter++;
+ ++aIter;
}
if ( aIter == aEnd )
rUsedPageList.push_back( xDrawPage );
@@ -109,7 +109,7 @@ void PageCollector::CollectNonCustomShowPages( const com::sun::star::uno::Refere
{
if ( *aIter == xDrawPage )
break;
- aIter++;
+ ++aIter;
}
if ( aIter == aEnd )
rNonUsedPageList.push_back( xDrawPage );
@@ -141,7 +141,7 @@ void PageCollector::CollectMasterPages( const Reference< XModel >& rxModel, std:
{
if ( aIter->xMasterPage == xMasterPage )
break;
- aIter++;
+ ++aIter;
}
if ( aIter == aEnd )
{
@@ -168,7 +168,7 @@ void PageCollector::CollectMasterPages( const Reference< XModel >& rxModel, std:
aIter->bUsed = sal_True;
break;
}
- aIter++;
+ ++aIter;
}
if ( aIter == aEnd )
throw uno::RuntimeException();