diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 08:35:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 10:25:27 +0200 |
commit | 5d5ac2fd9e8fe4781d6175eb58b949ba9c25d564 (patch) | |
tree | 1c32d0257d3ea62cb60cf802efb0e7f57f8ead8c /xmloff/source/style/xmlnumfi.cxx | |
parent | d36ccd2a7111b35276c21ed19750921fdfbfdacc (diff) |
clang-tidy modernize-use-emplace in xmloff
Change-Id: I55bf75b5505d01cb33f26fac4603afdb3b4f1780
Reviewed-on: https://gerrit.libreoffice.org/42262
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 6a3d997f8fe5..4d5b7c93d7a3 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -399,7 +399,7 @@ void SvXMLNumImpData::AddKey( sal_uInt32 nKey, const OUString& rName, bool bRemo SetUsed( nKey ); } - m_NameEntries.push_back(SvXMLNumFmtEntry(rName, nKey, bRemoveAfterUse)); + m_NameEntries.emplace_back(rName, nKey, bRemoveAfterUse); } void SvXMLNumImpData::SetUsed( sal_uInt32 nKey ) |