diff options
Diffstat (limited to 'sc/source/core/tool/cellkeytranslator.cxx')
-rw-r--r-- | sc/source/core/tool/cellkeytranslator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/cellkeytranslator.cxx b/sc/source/core/tool/cellkeytranslator.cxx index 91e38c0e64b1..ed90ed626d51 100644 --- a/sc/source/core/tool/cellkeytranslator.cxx +++ b/sc/source/core/tool/cellkeytranslator.cxx @@ -216,7 +216,7 @@ void ScCellKeywordTranslator::addToMap(const OUString& rKey, const sal_Char* pNa // New keyword. list<ScCellKeyword> aList; aList.push_back(aKeyItem); - maStringNameMap.insert( ScCellKeywordHashMap::value_type(rKey, aList) ); + maStringNameMap.emplace(rKey, aList); } else itr->second.push_back(aKeyItem); |