diff options
Diffstat (limited to 'sc/source/ui/view/spellcheckcontext.cxx')
-rw-r--r-- | sc/source/ui/view/spellcheckcontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/spellcheckcontext.cxx b/sc/source/ui/view/spellcheckcontext.cxx index ac615fdbe52e..025cfb41e1e5 100644 --- a/sc/source/ui/view/spellcheckcontext.cxx +++ b/sc/source/ui/view/spellcheckcontext.cxx @@ -72,7 +72,7 @@ void SpellCheckContext::setMisspellRanges( if (pRanges) { if (it == maMisspellCells.end()) - maMisspellCells.insert(CellMapType::value_type(aPos, *pRanges)); + maMisspellCells.emplace(aPos, *pRanges); else it->second = *pRanges; } |