[Libreoffice-commits] .: oox/source

Julien Nabet serval2412 at kemper.freedesktop.org
Wed Feb 1 12:41:42 PST 2012


 oox/source/helper/propertymap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 34c5059b80777244e25dee1299ea258c8d7ba4fe
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Feb 1 21:40:29 2012 +0100

    Fix "Prefer prefix ++/-- operators for non-primitive types"

diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index 0bf875c..bf92f7a 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -236,7 +236,7 @@ const Any* PropertyMap::getProperty( sal_Int32 nPropId ) const
 
 void PropertyMap::assignAll( const PropertyMap& rPropMap )
 {
-    for( PropertyMap::const_iterator it=rPropMap.begin(); it != rPropMap.end(); it++ )
+    for( PropertyMap::const_iterator it=rPropMap.begin(); it != rPropMap.end(); ++it )
         (*this)[it->first] = it->second;
 }
 


More information about the Libreoffice-commits mailing list