[Libreoffice-commits] .: sd/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Dec 23 05:03:28 PST 2010


 sd/source/core/drawdoc3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 43cb8d6edb8505a91d153bb137121cc9588e2dfa
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 23 12:47:04 2010 +0000

    cppcheck: prefer prefix variant

diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index 600a58a..6372822 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -1450,7 +1450,7 @@ void SdDrawDocument::RemoveUnnecessaryMasterPages(SdPage* pMasterPage, BOOL bOnl
                             pUndoMgr->AddUndoAction(pMovStyles);
                     }
 
-                    for( SdStyleSheetVector::iterator iter = aRemove.begin(); iter != aRemove.end(); iter++ )
+                    for( SdStyleSheetVector::iterator iter = aRemove.begin(); iter != aRemove.end(); ++iter )
                         static_cast<SdStyleSheetPool*>( mxStyleSheetPool.get())->Remove((*iter).get());
                 }
             }


More information about the Libreoffice-commits mailing list