diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-22 13:47:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-22 13:47:37 +0000 |
commit | 742870d9115ef372440f21a5cbe2dda1f5f1ef95 (patch) | |
tree | c52257fb22d2b70d945516f2c4f482ed1c51b1c2 /lotuswordpro | |
parent | 7a0bf3a591d948ba641dfc665dcba8221cdec6a1 (diff) |
cppcheck: prefer prefix variants
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xffontfactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xffontfactory.cxx b/lotuswordpro/source/filter/xfilter/xffontfactory.cxx index 22c5b5cfb82b..215ac374e2cd 100644 --- a/lotuswordpro/source/filter/xfilter/xffontfactory.cxx +++ b/lotuswordpro/source/filter/xfilter/xffontfactory.cxx @@ -75,7 +75,7 @@ XFFontFactory::~XFFontFactory() void XFFontFactory::Reset() { std::vector<XFFont*>::iterator it; - for( it = s_aFonts.begin(); it != s_aFonts.end(); it++ ) + for( it = s_aFonts.begin(); it != s_aFonts.end(); ++it ) { XFFont *pFont = (*it); if( !pFont ) @@ -93,7 +93,7 @@ void XFFontFactory::AddFont(XFFont *pFont) XFFont* XFFontFactory::FindSameFont(XFFont *pFont) { std::vector<XFFont*>::iterator it; - for( it = s_aFonts.begin(); it != s_aFonts.end(); it++ ) + for( it = s_aFonts.begin(); it != s_aFonts.end(); ++it ) { if( *pFont == **it ) return *it; |