diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 14:43:00 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 14:58:05 +0100 |
commit | 93b415a68f6080b5cb88381637433ff29e64cf2d (patch) | |
tree | e2decae9c90236d104a89909e84c8780537d928f | |
parent | dc0d009f10dee5d379b41abcd51d181dda38f1dd (diff) |
targetted prefer prefix operators reversion
Change-Id: I7e1ae9622bc89b584ddbb307dac15b0ed56ae563
-rw-r--r-- | comphelper/source/property/MasterPropertySet.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/MasterPropertySetInfo.cxx | 2 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageFolder.cxx | 3 | ||||
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx index c9517d5c3ef2..68f135cf2d0e 100644 --- a/comphelper/source/property/MasterPropertySet.cxx +++ b/comphelper/source/property/MasterPropertySet.cxx @@ -95,7 +95,7 @@ MasterPropertySet::~MasterPropertySet() while (aIter != aEnd ) { delete (*aIter).second; - ++aIter; + aIter++; } } diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx index df3e2995d02d..ec661d0ed505 100644 --- a/comphelper/source/property/MasterPropertySetInfo.cxx +++ b/comphelper/source/property/MasterPropertySetInfo.cxx @@ -56,7 +56,7 @@ MasterPropertySetInfo::~MasterPropertySetInfo() while (aIter != aEnd ) { delete (*aIter).second; - ++aIter; + aIter++; } } diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index 54b79139bd7a..2503690b778a 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -725,7 +725,8 @@ void ZipPackageFolder::saveContents( ::rtl::OUString &rPath, std::vector < uno:: } for ( ContentHash::const_iterator aCI = maContents.begin(), aEnd = maContents.end(); - aCI != aEnd; ++aCI) + aCI != aEnd; + aCI++) { const ::rtl::OUString &rShortName = (*aCI).first; const ContentInfo &rInfo = *(*aCI).second; diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index a4a6e47154e2..15eae11b366e 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -394,7 +394,7 @@ long BorderWidthImpl::GuessWidth( long nLine1, long nLine2, long nGap ) while ( pIt != aToCompare.end() && !bInvalid ) { bInvalid = ( nWidth != *pIt ); - ++pIt; + pIt++; } if ( bInvalid ) nWidth = 0.0; |