From 26c8682631d81151d1d81922a5aafde98081bfb6 Mon Sep 17 00:00:00 2001 From: Kayo Hamid Date: Tue, 19 Apr 2011 10:29:42 +0100 Subject: [PATCH] prefer prefix ++/-- operators --- comphelper/source/property/MasterPropertySet.cxx | 2 +- comphelper/source/property/MasterPropertySetInfo.cxx | 2 +- svtools/source/control/ctrlbox.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx index 2844031d370c..78f33af7aed0 100644 --- a/comphelper/source/property/MasterPropertySet.cxx +++ b/comphelper/source/property/MasterPropertySet.cxx @@ -108,7 +108,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 0cfaf6ec1a6f..46dffe062c03 100644 --- a/comphelper/source/property/MasterPropertySetInfo.cxx +++ b/comphelper/source/property/MasterPropertySetInfo.cxx @@ -63,7 +63,7 @@ MasterPropertySetInfo::~MasterPropertySetInfo() while (aIter != aEnd ) { delete (*aIter).second; - aIter++; + ++aIter; } } diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index a094ed4f3ff3..6939880c0d3d 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;