diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-30 21:08:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-30 21:08:12 +0000 |
commit | bfe06dc6c30f7a78f0aebfe4eef1b3eb98501b28 (patch) | |
tree | 1811f31001103c448bdcedbecbf9e687c6487e7e /sd | |
parent | 35629ee3f33f4222c10bbdfd3eb6b7feb27cf573 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 2 |
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) ) |