From 637cceeefba0b0e2e09ac734bb0327364e8ddd25 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Mar 2023 10:09:16 +0200 Subject: loplugin:stringadd in c* after my patch to merge the bufferadd loplugin into stringadd Change-Id: I66f4ce2fd87c1e12eefb14406e0e17212f68ceff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149497 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppuhelper/source/servicemanager.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index 5bcd2dfee76f..86d89e445dd4 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -1861,8 +1861,7 @@ void cppuhelper::ServiceManager::preloadImplementations() { { if (bDisabled) { - aDisabledMsg.append(simplified); - aDisabledMsg.append(" "); + aDisabledMsg.append(simplified + " "); } else { @@ -1890,8 +1889,7 @@ void cppuhelper::ServiceManager::preloadImplementations() { if (!aModule.is()) { - aMissingMsg.append(simplified); - aMissingMsg.append(" "); + aMissingMsg.append(simplified + " "); } if (aModule.is() && -- cgit