diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 08:14:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 09:42:55 +0200 |
commit | b6819a53c0b56a47d6ac7c6eb5aa7d82ca49136c (patch) | |
tree | 393e90116f9b141c5f1e189dbc48ca774f171967 /sc/source/ui/miscdlgs/anyrefdg.cxx | |
parent | da705eff910f512623a689aaf28604270fb8f1c4 (diff) |
clang-tidy modernize-use-emplace in sc
Change-Id: Ifc38e1fc188fe957a0c717aec19cdd6637e4c658
Reviewed-on: https://gerrit.libreoffice.org/42183
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/miscdlgs/anyrefdg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 56b2a008b139..7ff07f2157eb 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -432,7 +432,7 @@ namespace continue; if (rVisibleWidgets.find(pChild) == rVisibleWidgets.end()) { - rWasVisibleWidgets.push_back(pChild); + rWasVisibleWidgets.emplace_back(pChild); pChild->Hide(); } else if (isContainerWindow(pChild)) @@ -501,7 +501,7 @@ void ScFormulaReferenceHelper::RefInputStart( formula::RefEdit* pEdit, formula:: continue; // do nothing else if (pWin->IsVisible()) { - m_aHiddenWidgets.push_back(pChild); + m_aHiddenWidgets.emplace_back(pChild); pChild->Hide(); } } |