summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 16:54:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 18:23:20 +0200
commit0ff2a432f776d878fc17af5442f14844a9970bf7 (patch)
tree1a428a203626794c618afc68efd7f933f994cfec /ucbhelper
parent4dc362917597f0e3b890ef7d8d190749b20abce4 (diff)
loplugin:moveparam in ucbhelper
Change-Id: Id6b03af5ecd662ce2e390bb76819cfe5d2ec05ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123336 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/interceptedinteraction.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/client/interceptedinteraction.cxx b/ucbhelper/source/client/interceptedinteraction.cxx
index 682732958aee..96b3fd32cb41 100644
--- a/ucbhelper/source/client/interceptedinteraction.cxx
+++ b/ucbhelper/source/client/interceptedinteraction.cxx
@@ -32,9 +32,9 @@ void InterceptedInteraction::setInterceptedHandler(const css::uno::Reference< cs
m_xInterceptedHandler = xInterceptedHandler;
}
-void InterceptedInteraction::setInterceptions(const ::std::vector< InterceptedRequest >& lInterceptions)
+void InterceptedInteraction::setInterceptions(::std::vector< InterceptedRequest >&& lInterceptions)
{
- m_lInterceptions = lInterceptions;
+ m_lInterceptions = std::move(lInterceptions);
}
InterceptedInteraction::EInterceptionState InterceptedInteraction::intercepted(