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/qa/unit/ucalc.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/qa/unit/ucalc.cxx')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 043e56379647..21278e9385ce 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -4478,8 +4478,8 @@ void Test::testUpdateReference() ASSERT_DOUBLES_EQUAL_MESSAGE("after deleting sheets formula does not return correct result", aValue, 5); std::vector<OUString> aSheets; - aSheets.push_back("Sheet1"); - aSheets.push_back("Sheet2"); + aSheets.emplace_back("Sheet1"); + aSheets.emplace_back("Sheet2"); m_pDoc->InsertTabs(0, aSheets, true); m_pDoc->GetValue(2, 0, 2, aValue); OUString aFormula; |