summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 16:35:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 16:39:03 +0000
commita06d6ac55247d6d93821e786c8aaac36f78cf2b7 (patch)
tree1f0283f93c5450615810b442c7a3d4c09e70cf7c /sfx2
parenta4b1ba8d870ac76aac3cb0183c10693780632698 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/printer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx
index 2f269a68c0..d3c56d535c 100644
--- a/sfx2/source/view/printer.cxx
+++ b/sfx2/source/view/printer.cxx
@@ -441,7 +441,7 @@ void SfxPrinter::UpdateFonts_Impl()
// Try to add all non-regular fonts. It could be that there was no regular font
// with the same name added.
std::vector< Font >::const_iterator pIter;
- for ( pIter = aNonRegularFonts.begin(); pIter != aNonRegularFonts.end(); pIter++ )
+ for ( pIter = aNonRegularFonts.begin(); pIter != aNonRegularFonts.end(); ++pIter )
{
if ( SfxFindFont_Impl( *FONTS(), pIter->GetName() ) == 0 )
{