svtools/source/control/ruler.cxx | 2 +- vcl/coretext/salgdi2.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit c0e93c4f69faaf7ef566791f1f62fb3b64dc3bfa Author: Julien Nabet <[email protected]> Date: Thu Sep 12 20:50:15 2013 +0200 cppcheck: fix Prefer prefix ++/-- operators for non-primitive types Change-Id: I7495f86cb35b6f712cfb7d603f022f6f6c407266 diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 6aa2c6c..b409b03 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 cf7e7e1..5db35d4 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
