[Libreoffice-commits] .: sdext/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 30 13:05:57 PST 2010
sdext/source/minimizer/impoptimizer.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 2831d6adb65cf403419ab3e8d4a81c939a2e10bf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 30 21:05:51 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx
index 55d2df8..30edc80 100644
--- a/sdext/source/minimizer/impoptimizer.cxx
+++ b/sdext/source/minimizer/impoptimizer.cxx
@@ -120,7 +120,7 @@ void ImpDeleteUnusedMasterPages( const Reference< XModel >& rxModel )
{
if ( !aIter->bUsed )
xMasterPages->remove( aIter->xMasterPage );
- aIter++;
+ ++aIter;
}
}
@@ -465,10 +465,10 @@ void CompressGraphics( ImpOptimizer& rOptimizer, const Reference< XComponentCont
aGraphicUserIter->mxPagePropertySet->setPropertyValue( TKGet( TK_Background ), Any( rxPropertySet ) );
}
}
- aGraphicUserIter++;
+ ++aGraphicUserIter;
}
}
- aGraphicIter++;
+ ++aGraphicIter;
}
}
catch ( Exception& )
More information about the Libreoffice-commits
mailing list