[Libreoffice-commits] .: oox/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Dec 18 11:25:44 PST 2010
oox/source/drawingml/shape.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 37800d754fbbe15f56632e0cc2bbada2bb457b06
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Dec 18 19:25:13 2010 +0000
cppcheck: prefer prefix variant
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 35c8b7a..af6f717 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -421,7 +421,7 @@ Reference< XShape > Shape::createAndInsert(
if( mxCreateCallback.get() )
{
for ( aShapePropIter = mxCreateCallback->getShapeProperties().begin();
- aShapePropIter != mxCreateCallback->getShapeProperties().end(); aShapePropIter++ )
+ aShapePropIter != mxCreateCallback->getShapeProperties().end(); ++aShapePropIter )
aShapeProperties[ (*aShapePropIter).first ] = (*aShapePropIter).second;
}
@@ -429,7 +429,7 @@ Reference< XShape > Shape::createAndInsert(
if( mpTextBody.get() )
{
for ( aShapePropIter = mpTextBody->getTextProperties().maPropertyMap.begin();
- aShapePropIter != mpTextBody->getTextProperties().maPropertyMap.end(); aShapePropIter++ )
+ aShapePropIter != mpTextBody->getTextProperties().maPropertyMap.end(); ++aShapePropIter )
aShapeProperties[ (*aShapePropIter).first ] = (*aShapePropIter).second;
}
@@ -505,7 +505,7 @@ void addMissingProperties( const PropertyMap& rSource, PropertyMap& rDest )
{
if ( rDest.find( (*aSourceIter ).first ) == rDest.end() )
rDest[ (*aSourceIter).first ] <<= (*aSourceIter).second;
- aSourceIter++;
+ ++aSourceIter;
}
}
More information about the Libreoffice-commits
mailing list