summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-31 12:05:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-14 11:51:44 +0200
commitb0de7bc428aaf914a836da3c33b123e4195e603e (patch)
treeb5d83694bab8f9958281f9b382b2d5731d8f7263 /xmlsecurity/source/dialogs
parent5d5ac2fd9e8fe4781d6175eb58b949ba9c25d564 (diff)
clang-tidy modernize-use-emplace in various
Change-Id: Id1bbd3f380c17beeaab11f7140d4df1304c3d0d8 Reviewed-on: https://gerrit.libreoffice.org/41750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/dialogs')
-rw-r--r--xmlsecurity/source/dialogs/resourcemanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx
index 4df58e9868d1..f5a3411e9e76 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.cxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.cxx
@@ -262,7 +262,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
if (!bInValue)
{
OSL_ASSERT(!sType.isEmpty());
- retVal.push_back(make_pair(sType, sbufValue.makeStringAndClear()));
+ retVal.emplace_back(sType, sbufValue.makeStringAndClear());
sType.clear();
//The next char is the start of the new type
nTypeNameStart = i + 1;
@@ -288,7 +288,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
if (!sbufValue.isEmpty())
{
OSL_ASSERT(!sType.isEmpty());
- retVal.push_back(make_pair(sType, sbufValue.makeStringAndClear()));
+ retVal.emplace_back(sType, sbufValue.makeStringAndClear());
}
return retVal;
}