diff options
-rw-r--r-- | include/ucbhelper/interceptedinteraction.hxx | 2 | ||||
-rw-r--r-- | ucbhelper/source/client/interceptedinteraction.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx index 85699c1d534b..b94f51cf9bb2 100644 --- a/include/ucbhelper/interceptedinteraction.hxx +++ b/include/ucbhelper/interceptedinteraction.hxx @@ -160,7 +160,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public InterceptedInteraction @param lInterceptions the list of intercepted requests. */ - void setInterceptions(const ::std::vector< InterceptedRequest >& lInterceptions); + void setInterceptions(::std::vector< InterceptedRequest >&& lInterceptions); /** @short extract a requested continuation from the list of available ones. 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( |