summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations/annotationmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/annotations/annotationmanager.cxx')
-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 )
{