summaryrefslogtreecommitdiff
path: root/cppuhelper/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-24 10:09:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-24 15:29:18 +0000
commit637cceeefba0b0e2e09ac734bb0327364e8ddd25 (patch)
treeba321c814d9806921cbc23c293706cc54c8b82df /cppuhelper/source
parent4d90e2696dd4358b3d02bbbae90160c92d36263f (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper/source')
-rw-r--r--cppuhelper/source/servicemanager.cxx6
1 files changed, 2 insertions, 4 deletions
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() &&