diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-19 15:09:08 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-19 15:10:13 +0200 |
commit | 2b657f5844f9362660c253322e4c4059d5875062 (patch) | |
tree | 1c87a789b24a38f85af13b6d76d370abbf6a7974 /svx | |
parent | 891f032e85276a86783787ecfeb5a462db34093b (diff) |
Fix Prefer prefix ++/-- operators for non-primitive types
Change-Id: I4ebb1027151c3bc34f81fb1e13de6c4c5cfed54d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/overlay/overlaymanager.cxx | 8 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayobjectlist.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index 7095058beb16..236775b15647 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -64,7 +64,7 @@ namespace sdr if(pProcessor) { - for(OverlayObjectVector::const_iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); aIter++) + for(OverlayObjectVector::const_iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); ++aIter) { OSL_ENSURE(*aIter, "Corrupted OverlayObject List (!)"); const OverlayObject& rCandidate = **aIter; @@ -106,7 +106,7 @@ namespace sdr if(nSize) { - for(OverlayObjectVector::iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); aIter++) + for(OverlayObjectVector::iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); ++aIter) { OSL_ENSURE(*aIter, "Corrupted OverlayObject List (!)"); OverlayObject& rCandidate = **aIter; @@ -162,7 +162,7 @@ namespace sdr if(nSize) { - for(OverlayObjectVector::iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); aIter++) + for(OverlayObjectVector::iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); ++aIter) { OSL_ENSURE(*aIter, "Corrupted OverlayObject List (!)"); OverlayObject& rCandidate = **aIter; @@ -258,7 +258,7 @@ namespace sdr if(nSize) { - for(OverlayObjectVector::iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); aIter++) + for(OverlayObjectVector::iterator aIter(maOverlayObjects.begin()); aIter != maOverlayObjects.end(); ++aIter) { OSL_ENSURE(*aIter, "Corrupted OverlayObject List (!)"); OverlayObject& rCandidate = **aIter; diff --git a/svx/source/sdr/overlay/overlayobjectlist.cxx b/svx/source/sdr/overlay/overlayobjectlist.cxx index 87151071a154..43bb2cbc1e71 100644 --- a/svx/source/sdr/overlay/overlayobjectlist.cxx +++ b/svx/source/sdr/overlay/overlayobjectlist.cxx @@ -52,7 +52,7 @@ namespace sdr { OverlayObjectVector::iterator aStart(maVector.begin()); - for(; aStart != maVector.end(); aStart++) + for(; aStart != maVector.end(); ++aStart) { ::sdr::overlay::OverlayObject* pCandidate = *aStart; @@ -92,7 +92,7 @@ namespace sdr fLogicTolerance, false); - for(; aStart != maVector.end(); aStart++) + for(; aStart != maVector.end(); ++aStart) { sdr::overlay::OverlayObject* pCandidate = *aStart; OSL_ENSURE(pCandidate, "Corrupt OverlayObjectList (!)"); @@ -154,7 +154,7 @@ namespace sdr { OverlayObjectVector::const_iterator aStart(maVector.begin()); - for(; aStart != maVector.end(); aStart++) + for(; aStart != maVector.end(); ++aStart) { ::sdr::overlay::OverlayObject* pCandidate = *aStart; aRetval.expand(pCandidate->getBaseRange()); |