diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 16:52:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 18:25:02 +0200 |
commit | c954552a8255188779b9021cc9acaa13c5e3c679 (patch) | |
tree | 24cb5e01c6472d6fdfdefbb1140042637ec6ef4c /comphelper | |
parent | d035f86de21f9508bc5ea0f35071873c0fd4c8c8 (diff) |
loplugin:moveparam in comphelper
Change-Id: I109d8507890460c5a479af2a5b94f905197b08d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123335
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/simplefileaccessinteraction.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/stillreadwriteinteraction.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/simplefileaccessinteraction.cxx b/comphelper/source/misc/simplefileaccessinteraction.cxx index 2840e3dad0e7..48c99598fac5 100644 --- a/comphelper/source/misc/simplefileaccessinteraction.cxx +++ b/comphelper/source/misc/simplefileaccessinteraction.cxx @@ -66,7 +66,7 @@ SimpleFileAccessInteraction::SimpleFileAccessInteraction( lInterceptions.push_back(aInterceptedRequest); setInterceptedHandler(xHandler); - setInterceptions(lInterceptions); + setInterceptions(std::move(lInterceptions)); } SimpleFileAccessInteraction::~SimpleFileAccessInteraction() {} diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx b/comphelper/source/misc/stillreadwriteinteraction.cxx index 0efec31b160b..d9333f389166 100644 --- a/comphelper/source/misc/stillreadwriteinteraction.cxx +++ b/comphelper/source/misc/stillreadwriteinteraction.cxx @@ -63,7 +63,7 @@ StillReadWriteInteraction::StillReadWriteInteraction(const css::uno::Reference< lInterceptions.push_back(aInterceptedRequest); setInterceptedHandler(xHandler); - setInterceptions(lInterceptions); + setInterceptions(std::move(lInterceptions)); } void StillReadWriteInteraction::resetInterceptions() |