diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-21 09:19:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-21 11:01:40 +0200 |
commit | bc6e6fe77f089ccfc6b94bbf80538f674e412118 (patch) | |
tree | 79c15914c7772b8f0c13820c82bd7c4b057690e5 /configmgr | |
parent | faa40c022ccee7c28de98472699ca26aa8aa827b (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')
-rw-r--r-- | configmgr/source/broadcaster.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/components.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/broadcaster.cxx b/configmgr/source/broadcaster.cxx index f1830ee81b13..03bcf8f273de 100644 --- a/configmgr/source/broadcaster.cxx +++ b/configmgr/source/broadcaster.cxx @@ -176,7 +176,7 @@ void Broadcaster::send() { if (exception.hasValue()) { throw css::lang::WrappedTargetRuntimeException( ("configmgr exceptions during listener notification" + - messages.makeStringAndClear()), + messages), css::uno::Reference< css::uno::XInterface >(), exception); } 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); |