summaryrefslogtreecommitdiff
path: root/xmlscript/qa/cppunit/test.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 17:00:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 19:45:48 +0200
commitf4ac99f717d7365fc7d1f0adbf72a9bb4d4c8db5 (patch)
treebb263a9aa6c17ed7103078b8bdb991b6db17b265 /xmlscript/qa/cppunit/test.cxx
parentfa311ad62f935d6469b77936d477125d98dbee60 (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 'xmlscript/qa/cppunit/test.cxx')
-rw-r--r--xmlscript/qa/cppunit/test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/qa/cppunit/test.cxx b/xmlscript/qa/cppunit/test.cxx
index 572fae867423..aa8bd934ea14 100644
--- a/xmlscript/qa/cppunit/test.cxx
+++ b/xmlscript/qa/cppunit/test.cxx
@@ -92,7 +92,7 @@ Reference<container::XNameContainer> XmlScriptTest::importFile(std::u16string_vi
"com.sun.star.awt.UnoControlDialogModel", mxComponentContext),
UNO_QUERY);
- ::xmlscript::importDialogModel(::xmlscript::createInputStream(bytes), xDialogModel,
+ ::xmlscript::importDialogModel(::xmlscript::createInputStream(std::move(bytes)), xDialogModel,
mxComponentContext, nullptr);
Reference<lang::XComponent> xDialogModelComp(xDialogModel, UNO_QUERY);