summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-03-27 23:03:03 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-03-28 21:23:27 +0400
commit8627b0a297d6a2b7461bb53da2f434c397cb2603 (patch)
treefd2905615aa5b32686947e39afb969c3a37e1ddc /sc
parentd976045c9d0296d2418687e0049ee49f9ebeded5 (diff)
there was Table::Insert, let's use map::insert as a replacement
Diffstat (limited to 'sc')
-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 bae4802a33fa..cdc27f64b6ca 100644
--- a/sc/source/core/tool/chartpos.cxx
+++ b/sc/source/core/tool/chartpos.cxx
@@ -475,7 +475,7 @@ void ScChartPositioner::CreatePositionMap()
{
sal_uLong nKey = it1->first;
for (ColumnMap::const_iterator it2 = ++pCols->begin(); it2 != pCols->end(); ++it2 )
- (*it2->second)[ nKey ] = NULL; // keine Daten
+ it2->second->insert( RowMap::value_type( nKey, NULL )); // keine Daten
}
}
}