diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 11:29:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 13:50:50 +0200 |
commit | 7ca4ea54b4d610104df1b88ae5b04c2081a4a429 (patch) | |
tree | ca6be37362fcdf1368b087fd3787f17745326801 /jvmfwk/source/framework.cxx | |
parent | 59010ca14ba07f0a1d6f662bb1f8fbad33f3c654 (diff) |
clang-tidy modernize-use-emplace in hwpfilter..lotuswordpro
Change-Id: Ic11634ca28396fd156390c511087bae03bd5fb70
Reviewed-on: https://gerrit.libreoffice.org/42156
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk/source/framework.cxx')
-rw-r--r-- | jvmfwk/source/framework.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 4fe4d48ccff3..c03a3cac30e3 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -349,8 +349,7 @@ javaFrameworkError jfw_findAndSelectJRE(std::unique_ptr<JavaInfo> *pInfo) jfw::VersionInfo versionInfo = aVendorSettings.getVersionInformation(vendor); - versionInfos.push_back( - std::pair<OUString, jfw::VersionInfo>(vendor, versionInfo)); + versionInfos.emplace_back(vendor, versionInfo); } std::vector<rtl::Reference<jfw_plugin::VendorBase>> infos; |