Kaydet (Commit) c0e93c4f authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: fix Prefer prefix ++/-- operators for non-primitive types

Change-Id: I7495f86cb35b6f712cfb7d603f022f6f6c407266
üst 0992fbe7
...@@ -2849,7 +2849,7 @@ void Ruler::SetTabs( sal_uInt32 aTabArraySize, const RulerTab* pTabArray ) ...@@ -2849,7 +2849,7 @@ void Ruler::SetTabs( sal_uInt32 aTabArraySize, const RulerTab* pTabArray )
{ {
break; break;
} }
aTabIterator++; ++aTabIterator;
pInputArray++; pInputArray++;
i--; i--;
} }
......
...@@ -881,7 +881,7 @@ bool SvpSalGraphics::CheckContext() ...@@ -881,7 +881,7 @@ bool SvpSalGraphics::CheckContext()
CGContextBeginPath( mrContext ); 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 const long nW(aRectIter->Right() - aRectIter->Left() + 1); // uses +1 logic in original
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment