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 --- vbahelper/source/msforms/vbauserform.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vbahelper/source') diff --git a/vbahelper/source/msforms/vbauserform.cxx b/vbahelper/source/msforms/vbauserform.cxx index 8f3c158c4e5a..c82a84fd1035 100644 --- a/vbahelper/source/msforms/vbauserform.cxx +++ b/vbahelper/source/msforms/vbauserform.cxx @@ -256,7 +256,7 @@ ScVbaUserForm::getValue( const OUString& aPropertyName ) uno::Reference< msforms::XControl > xVBAControl = ScVbaControlFactory::createUserformControl( mxContext, xControl, xDialogControl, m_xModel, mpGeometryHelper->getOffsetX(), mpGeometryHelper->getOffsetY() ); ScVbaControl* pControl = dynamic_cast< ScVbaControl* >( xVBAControl.get() ); if (pControl && !m_sLibName.isEmpty()) - pControl->setLibraryAndCodeName( m_sLibName.concat( "." ).concat( getName() ) ); + pControl->setLibraryAndCodeName( m_sLibName + "." + getName() ); aResult <<= xVBAControl; } } -- cgit