summaryrefslogtreecommitdiff
path: root/configmgr/source/components.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-21 09:19:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-21 11:01:40 +0200
commitbc6e6fe77f089ccfc6b94bbf80538f674e412118 (patch)
tree79c15914c7772b8f0c13820c82bd7c4b057690e5 /configmgr/source/components.cxx
parentfaa40c022ccee7c28de98472699ca26aa8aa827b (diff)
elide some makeStringAndClear() calls
Change-Id: Id81a0c0046d0d84e6c327eef4447b21fecae6ddc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137283 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr/source/components.cxx')
-rw-r--r--configmgr/source/components.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 0693ec26bcc3..6320940133ee 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -850,7 +850,7 @@ void Components::parseXcsXcuIniLayer(
if (!urls.isEmpty()) {
parseFileList(layer, &parseXcsFile, urls, false);
}
- urls = prefix.makeStringAndClear() + "DATA}";
+ urls = prefix + "DATA}";
rtl::Bootstrap::expandMacros(urls);
if (!urls.isEmpty()) {
parseFileList(layer + 1, &parseXcuFile, urls, recordAdditions);