diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-02-20 16:05:42 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-02-21 03:09:07 +0100 |
commit | b57137d1ca3902e4c191fa0e3a872ffff19380a0 (patch) | |
tree | 83db1a5e5c59c8135b505afdf86a15b99799f715 /chart2 | |
parent | make debugrun run debugrun and not subsequentcheck (diff) | |
download | core-b57137d1ca3902e4c191fa0e3a872ffff19380a0.tar.gz core-b57137d1ca3902e4c191fa0e3a872ffff19380a0.zip |
use const_iterator for begin and end
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/ExplicitCategoriesProvider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx index 80f2808c492e..b174912a91cc 100644 --- a/chart2/source/tools/ExplicitCategoriesProvider.cxx +++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx @@ -321,7 +321,7 @@ std::vector< ComplexCategory > lcl_DataSequenceToComplexCategoryVector( sal_Int32 lcl_getCategoryCount( std::vector< ComplexCategory >& rComplexCategories ) { sal_Int32 nCount = 0; - std::vector< ComplexCategory >::iterator aIt( rComplexCategories.begin() ); + std::vector< ComplexCategory >::const_iterator aIt( rComplexCategories.begin() ); std::vector< ComplexCategory >::const_iterator aEnd( rComplexCategories.end() ); for( ; aIt != aEnd; ++aIt ) nCount+=aIt->Count; |