summaryrefslogtreecommitdiff
path: root/sd/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-30 21:08:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-30 21:08:12 +0000
commitbfe06dc6c30f7a78f0aebfe4eef1b3eb98501b28 (patch)
tree1811f31001103c448bdcedbecbf9e687c6487e7e /sd/source/core
parent35629ee3f33f4222c10bbdfd3eb6b7feb27cf573 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'sd/source/core')
-rw-r--r--sd/source/core/stlsheet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 205c35a8cb55..d61ea838db23 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -1021,7 +1021,7 @@ void SAL_CALL SdStyleSheet::setParentStyle( const OUString& rParentName ) throw
{
const SfxStyles& rStyles = mxPool->GetStyles();
- for( SfxStyles::const_iterator iter( rStyles.begin() ); iter != rStyles.end(); iter++ )
+ for( SfxStyles::const_iterator iter( rStyles.begin() ); iter != rStyles.end(); ++iter )
{
SdStyleSheet* pStyle = static_cast< SdStyleSheet* >( (*iter).get() );
if( pStyle && (pStyle->nFamily == nFamily) && (pStyle->msApiName == rParentName) )