diff options
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/dbfunc3.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/spellcheckcontext.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index c0b91e6d1056..8443f0bc54ef 100644 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -1677,7 +1677,7 @@ void ScDBFunc::DataPilotSort(ScDPObject* pDPObj, long nDimIndex, bool bAscending // This string doesn't exist in the member name set. Don't add this. continue; - aSubStrs.insert(UserSortMap::value_type(aSub, nSubCount++)); + aSubStrs.emplace(aSub, nSubCount++); } } diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index e5d007bc8d71..b22a8b09f389 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -565,7 +565,7 @@ void ScGridWindow::UpdateDPFromFieldPopupMenu() MemNameMapType aMemNameMap; for (vector<ScDPLabelData::Member>::const_iterator itr = rLabelData.maMembers.begin(), itrEnd = rLabelData.maMembers.end(); itr != itrEnd; ++itr) - aMemNameMap.insert(MemNameMapType::value_type(itr->maLayoutName, itr->maName)); + aMemNameMap.emplace(itr->maLayoutName, itr->maName); // The raw result may contain a mixture of layout names and original names. ScCheckListMenuWindow::ResultType aRawResult; 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; } |