From e810bd2b99777e192fb464572fa64a34bc0768fe Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 May 2023 14:24:11 +0200 Subject: merge some stringadds found with a lightly tweaked version of the loplugin:stringadd and some hand-holding. Change-Id: I146aadcaf665e98fea89a9cad2df4dc3935622f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152275 Tested-by: Jenkins Reviewed-by: Noel Grandin --- configmgr/source/data.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configmgr') diff --git a/configmgr/source/data.cxx b/configmgr/source/data.cxx index b0cad8042962..dd15026c17de 100644 --- a/configmgr/source/data.cxx +++ b/configmgr/source/data.cxx @@ -220,8 +220,7 @@ rtl::Reference< Node > Data::resolvePathRepresentation( return p; } if (canonicRepresentation != nullptr) { - canonic.append('/'); - canonic.append(createSegment(templateName, seg)); + canonic.append("/" + createSegment(templateName, seg)); } if (path != nullptr) { path->push_back(seg); -- cgit