From cc1e6ee2dd4609c27cb7a09aa47a779592a3e22c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 10 Nov 2020 14:41:56 +0200 Subject: disable O(U)String::concat for internal code in favour of the more widely used, and better optimised, operator+ Change-Id: I6a1b37e0f3d253af1f7a0892443f59b620efea63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105523 Tested-by: Jenkins Reviewed-by: Noel Grandin --- filter/source/msfilter/mstoolbar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx index 441b60c3ca98..336eed1b59ef 100644 --- a/filter/source/msfilter/mstoolbar.cxx +++ b/filter/source/msfilter/mstoolbar.cxx @@ -488,7 +488,7 @@ TBCGeneralInfo::ImportToolBarControlData( CustomToolBarImportHelper& helper, std if ( aMacroInf.mbFound ) aProp.Value = CustomToolBarImportHelper::createCommandFromMacro( aMacroInf.msResolvedMacro ); else - aProp.Value <<= OUString( "UnResolvedMacro[" ).concat( extraInfo.getOnAction() ).concat( "]" ); + aProp.Value <<= "UnResolvedMacro[" + extraInfo.getOnAction() + "]"; sControlData.push_back( aProp ); } -- cgit