summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/chartpos.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/chartpos.cxx')
-rw-r--r--sc/source/core/tool/chartpos.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/chartpos.cxx b/sc/source/core/tool/chartpos.cxx
index 6ba4a4609f6b..4c93be995b29 100644
--- a/sc/source/core/tool/chartpos.cxx
+++ b/sc/source/core/tool/chartpos.cxx
@@ -424,7 +424,7 @@ void ScChartPositioner::CreatePositionMap()
{ // fill gaps with Dummies, first column is master
RowMap& rFirstCol = aColMap.begin()->second;
- for ( auto& it1 : rFirstCol )
+ for ( const auto& it1 : rFirstCol )
{
sal_uLong nKey = it1.first;
for (ColumnMap::iterator it2 = ++aColMap.begin(); it2 != aColMap.end(); ++it2 )