From b6819a53c0b56a47d6ac7c6eb5aa7d82ca49136c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Sep 2017 08:14:36 +0200 Subject: clang-tidy modernize-use-emplace in sc Change-Id: Ifc38e1fc188fe957a0c717aec19cdd6637e4c658 Reviewed-on: https://gerrit.libreoffice.org/42183 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/ftools/fapihelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/filter/ftools') diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx index 6e5f3dba15a1..3a4dd2b48ab5 100644 --- a/sc/source/filter/ftools/fapihelper.cxx +++ b/sc/source/filter/ftools/fapihelper.cxx @@ -282,7 +282,7 @@ ScfPropSetHelper::ScfPropSetHelper( const sal_Char* const* ppcPropNames ) : for( size_t nVecIdx = 0; *ppcPropNames; ++ppcPropNames, ++nVecIdx ) { OUString aPropName = OUString::createFromAscii( *ppcPropNames ); - aPropNameVec.push_back( IndexedOUString( aPropName, nVecIdx ) ); + aPropNameVec.emplace_back( aPropName, nVecIdx ); } // sorts the pairs, which will be sorted by first component (the property name) -- cgit