[Libreoffice-commits] .: sdext/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 19 07:46:04 PST 2010
sdext/source/minimizer/pagecollector.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 6ac1bfe4dfb23e6b32d86f4fb88d06e156b92ba6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Dec 19 15:21:43 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sdext/source/minimizer/pagecollector.cxx b/sdext/source/minimizer/pagecollector.cxx
index 3352210..ae1a639 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();
More information about the Libreoffice-commits
mailing list