summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-11-10 14:41:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-11 06:33:40 +0100
commitcc1e6ee2dd4609c27cb7a09aa47a779592a3e22c (patch)
treee0155415dcdbb86078d47100d088689542b98a66 /filter
parentloplugin:xmlimport add more checks (diff)
downloadcore-cc1e6ee2dd4609c27cb7a09aa47a779592a3e22c.tar.gz
core-cc1e6ee2dd4609c27cb7a09aa47a779592a3e22c.zip
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/mstoolbar.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}