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 --- unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unodevtools/source') diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index b1fc3ac33035..3bbcee31dbf7 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -860,7 +860,7 @@ static void generateMethodBodies(std::ostream& o, OString const & comphelpernamespace, OUString const & propertyhelper) { - OString name(classname.concat("::")); + OString name = classname + "::"; codemaker::GeneratedTypeSet generated; for (const auto& rIface : interfaces) { if ( rIface == "com.sun.star.lang.XServiceInfo" ) { -- cgit