[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 30 13:08:20 PST 2010
sd/source/core/stlsheet.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ddc42a2d9071ccebcac290bcc6bea5b526ba42a6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 30 21:08:12 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 331a9f4..55d858d 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) )
More information about the Libreoffice-commits
mailing list