From cc1e6ee2dd4609c27cb7a09aa47a779592a3e22c Mon Sep 17 00:00:00 2001
From: Noel Grandin <noelgrandin@gmail.com>
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 <noel.grandin@collabora.co.uk>
---
 extensions/source/ole/oleobjw.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'extensions')

diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index bde55278c174..532794f3992d 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -472,7 +472,7 @@ Any SAL_CALL IUnknownWrapper::getValue( const OUString& aPropertyName )
                         if ( SUCCEEDED( pTypeLib->GetDocumentation( -1, &sName, nullptr, nullptr, nullptr  ) ) )
                         {
                             OUString sLibName( o3tl::toU(LPCOLESTR(sName)));
-                            m_sTypeName = sLibName.concat( "." ).concat( sTmp );
+                            m_sTypeName = sLibName + "." + sTmp;
 
                         }
                     }
-- 
cgit