diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-06-13 22:18:20 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-06-13 22:18:37 +0200 |
commit | 6934312f617ccd86d0467e38129c2e5d861241b5 (patch) | |
tree | 3d58a65c74354b4a44c17b47fda32695b9bc4c73 /vcl/unx | |
parent | 8778882b8732454fac4a682e60a40ac2e3ad5c03 (diff) |
cppcheck: fix all the others Prefer prefix ++/-- operators
Change-Id: I7956510a5faf1d659f88268941f8afce44e83560
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 18ca15ece773..e02434923ed2 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -561,7 +561,7 @@ bool X11SalGraphics::setClipRegion( const Region& i_rClip ) RectangleVector aRectangles; i_rClip.GetRegionRectangles(aRectangles); - 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->GetWidth()); diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index 8518ab32dcb5..1dc547863e4a 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -831,7 +831,7 @@ sal_Bool GtkSalGraphics::drawNativeControl( ControlType nType, RectangleVector aRectangles; aClipRegion.GetRegionRectangles(aRectangles); - for(RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); aRectIter++) + for(RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); ++aRectIter) { if(aRectIter->IsEmpty()) { |