diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-11-10 14:41:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-11 06:33:40 +0100 |
commit | cc1e6ee2dd4609c27cb7a09aa47a779592a3e22c (patch) | |
tree | e0155415dcdbb86078d47100d088689542b98a66 /vbahelper/source | |
parent | dfb2e07e32694c220e791574b7a6c05f5648c0c2 (diff) |
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 'vbahelper/source')
-rw-r--r-- | vbahelper/source/msforms/vbauserform.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |