diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-04-01 18:53:16 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-04-01 18:53:16 +0200 |
commit | fb31dfbda781721a56c7e3a4f5a9873ecc1f5095 (patch) | |
tree | 4dedf68240756101dfcd5346544d4d5c468af010 /sd/source | |
parent | abcf4fec9be9490b7062e57dd56422baf4d640c5 (diff) |
Prefer prefix ++/-- operators for non-primitive types
Change-Id: I19faf2d0608b2b405d30296bcdccd86583be2f11
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/drawdoc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx index 3f36d86b6f98..6687bc7dc436 100644 --- a/sd/source/core/drawdoc.cxx +++ b/sd/source/core/drawdoc.cxx @@ -959,7 +959,8 @@ sal_uInt16 SdDrawDocument::GetAnnotationAuthorIndex( const rtl::OUString& rAutho } sal_uInt16 idx = 0; - for( std::vector< OUString >::iterator iter( maAnnotationAuthors.begin() ); iter != maAnnotationAuthors.end(); iter++ ) + const std::vector< OUString >::const_iterator aEnd( maAnnotationAuthors.end()); + for( std::vector< OUString >::const_iterator iter( maAnnotationAuthors.begin() ); iter != aEnd; ++iter ) { if( (*iter) == rAuthor ) { |