diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-19 15:21:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-19 15:21:43 +0000 |
commit | a92a8f30e9a8a1064e35a195766a98afe8b9d94d (patch) | |
tree | b6de36fe0750f1e2280bd98283884005485a23ad /sdext | |
parent | 5e429d679c2154a5b4601cde132021f9bf23d607 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/pagecollector.cxx | 8 |
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(); |