summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 21:34:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 21:34:45 +0000
commitf513beee4b04501b372faa341680a61e53848611 (patch)
tree94846f65340b99a3b6e7ddbe3ffb7384ba4d4110 /vcl/unx
parent73204a0ab60ed5cdcfe0e0a2fd80202e54a98e1d (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/source/printergfx/text_gfx.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/source/printergfx/text_gfx.cxx b/vcl/unx/source/printergfx/text_gfx.cxx
index 60066b9a1017..e963d4ed74c9 100644
--- a/vcl/unx/source/printergfx/text_gfx.cxx
+++ b/vcl/unx/source/printergfx/text_gfx.cxx
@@ -179,7 +179,7 @@ void PrinterGfx::drawGlyphs(
// draw the string
// search for a glyph set matching the set font
std::list< GlyphSet >::iterator aIter;
- for (aIter = maPS3Font.begin(); aIter != maPS3Font.end(); aIter++)
+ for (aIter = maPS3Font.begin(); aIter != maPS3Font.end(); ++aIter)
if ( ((*aIter).GetFontID() == mnFontID)
&& ((*aIter).IsVertical() == mbTextVertical))
{
@@ -622,7 +622,7 @@ PrinterGfx::drawText(
// search for a glyph set matching the set font
std::list< GlyphSet >::iterator aIter;
- for (aIter = maPS3Font.begin(); aIter != maPS3Font.end(); aIter++)
+ for (aIter = maPS3Font.begin(); aIter != maPS3Font.end(); ++aIter)
if ( ((*aIter).GetFontID() == mnFontID)
&& ((*aIter).IsVertical() == mbTextVertical))
{