[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Jan 1 13:29:17 PST 2011
sd/source/core/annotations/Annotation.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eb7ce29c797b5f40bc1a2557af394efba8fd3bc9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 1 21:29:08 2011 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/core/annotations/Annotation.cxx b/sd/source/core/annotations/Annotation.cxx
index 2f46db1..8952254 100644
--- a/sd/source/core/annotations/Annotation.cxx
+++ b/sd/source/core/annotations/Annotation.cxx
@@ -376,7 +376,7 @@ UndoInsertOrRemoveAnnotation::UndoInsertOrRemoveAnnotation( Annotation& rAnnotat
Reference< XAnnotation > xAnnotation( &rAnnotation );
const AnnotationVector& rVec = pPage->getAnnotations();
- for( AnnotationVector::const_iterator iter = rVec.begin(); iter != rVec.end(); iter++ )
+ for( AnnotationVector::const_iterator iter = rVec.begin(); iter != rVec.end(); ++iter )
{
if( (*iter) == xAnnotation )
break;
More information about the Libreoffice-commits
mailing list