diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:34:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:34:45 +0000 |
commit | f513beee4b04501b372faa341680a61e53848611 (patch) | |
tree | 94846f65340b99a3b6e7ddbe3ffb7384ba4d4110 /vcl/unx | |
parent | 73204a0ab60ed5cdcfe0e0a2fd80202e54a98e1d (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/source/printergfx/text_gfx.cxx | 4 |
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)) { |