diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 17:00:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 19:45:48 +0200 |
commit | f4ac99f717d7365fc7d1f0adbf72a9bb4d4c8db5 (patch) | |
tree | bb263a9aa6c17ed7103078b8bdb991b6db17b265 /desktop/source/deployment | |
parent | fa311ad62f935d6469b77936d477125d98dbee60 (diff) |
loplugin:moveparam in xmlscript
Change-Id: I8c33291dae8a4f90c02f47d823b127ca4e383d61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123338
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/registry/configuration/dp_configuration.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_backenddb.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index 7949ab353b0a..03eedff5fbab 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -680,7 +680,7 @@ OUString replaceOrigin( } ucbhelper::Content(newUrl, xCmdEnv, xContext).writeStream( - xmlscript::createInputStream(filtered), true); + xmlscript::createInputStream(std::move(filtered)), true); out_replaced = true; return newUrl; } diff --git a/desktop/source/deployment/registry/dp_backenddb.cxx b/desktop/source/deployment/registry/dp_backenddb.cxx index 1cd3007b25a3..28effd95c8f5 100644 --- a/desktop/source/deployment/registry/dp_backenddb.cxx +++ b/desktop/source/deployment/registry/dp_backenddb.cxx @@ -54,7 +54,7 @@ void BackendDb::save() xDataControl->start(); const Reference<css::io::XInputStream> xData( - ::xmlscript::createInputStream(bytes)); + ::xmlscript::createInputStream(std::move(bytes))); ::ucbhelper::Content ucbDb(m_urlDb, nullptr, m_xContext); ucbDb.writeStream(xData, true /*replace existing*/); } |