diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-09-12 20:50:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-09-12 23:07:09 +0200 |
commit | c0e93c4f69faaf7ef566791f1f62fb3b64dc3bfa (patch) | |
tree | 7fa604ea029a9f5e38e46264f582051e776588ff | |
parent | 0992fbe72b8bf5e228d236f42ae64a27fe493f6c (diff) |
cppcheck: fix Prefer prefix ++/-- operators for non-primitive types
Change-Id: I7495f86cb35b6f712cfb7d603f022f6f6c407266
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 | ||||
-rw-r--r-- | vcl/coretext/salgdi2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 6aa2c6c7f60e..b409b03ea013 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2849,7 +2849,7 @@ void Ruler::SetTabs( sal_uInt32 aTabArraySize, const RulerTab* pTabArray ) { break; } - aTabIterator++; + ++aTabIterator; pInputArray++; i--; } diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx index cf7e7e1a3f37..5db35d40cf1e 100644 --- a/vcl/coretext/salgdi2.cxx +++ b/vcl/coretext/salgdi2.cxx @@ -881,7 +881,7 @@ bool SvpSalGraphics::CheckContext() CGContextBeginPath( mrContext ); - for(RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); aRectIter++) + for(RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); ++aRectIter) { const long nW(aRectIter->Right() - aRectIter->Left() + 1); // uses +1 logic in original |