summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-04-01 19:02:44 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-04-01 19:02:44 +0200
commit79894c1de064a65b3a793e063c8f3aa96426c70a (patch)
treecc1a18809784df19294c5024f9f13d1ed982e1a0 /sd/source/ui/annotations
parentfb31dfbda781721a56c7e3a4f5a9873ecc1f5095 (diff)
Prefer prefix ++/-- operators for non-primitive types
Change-Id: I0471261e01ed5fb45cb470abd5bc1e809f2873be
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index c91d358b5664..c4c6897ce8a6 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -762,7 +762,9 @@ void AnnotationManagerImpl::SelectAnnotation( ::com::sun::star::uno::Reference<
{
mxSelectedAnnotation = xAnnotation;
- for( AnnotationTagVector::iterator iter( maTagVector.begin() ); iter != maTagVector.end(); iter++ )
+ const AnnotationTagVector::const_iterator aEnd( maTagVector.end() );
+ for( AnnotationTagVector::const_iterator iter( maTagVector.begin() );
+ iter != aEnd; ++iter)
{
if( (*iter)->GetAnnotation() == xAnnotation )
{