diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-23 10:01:44 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-23 12:07:09 +0100 |
commit | 59280a9ce5a15136a6fdd383aedf02c6cf7d6e96 (patch) | |
tree | ae4a920bc8687df984745f347cfbb0f3b5d52101 /ucbhelper | |
parent | f23ee916466bd6e0d328a4e541e104445c8ecb0a (diff) |
tdf#158321 No error message when file doesn't exist
Revert "reduce allocations in InterceptedInteraction"
This reverts commit e3c961e6a3917d95534652e0f982918cc1079015.
Change-Id: I26ba0acaa088dff1800ccd69513056f821bd4d7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159762
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/interceptedinteraction.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ucbhelper/source/client/interceptedinteraction.cxx b/ucbhelper/source/client/interceptedinteraction.cxx index 15b1b318bdac..96b3fd32cb41 100644 --- a/ucbhelper/source/client/interceptedinteraction.cxx +++ b/ucbhelper/source/client/interceptedinteraction.cxx @@ -23,8 +23,7 @@ namespace ucbhelper{ -InterceptedInteraction::InterceptedInteraction(std::span< const InterceptedRequest > lInterceptions) - : m_lInterceptions(lInterceptions) +InterceptedInteraction::InterceptedInteraction() { } @@ -33,6 +32,11 @@ void InterceptedInteraction::setInterceptedHandler(const css::uno::Reference< cs m_xInterceptedHandler = xInterceptedHandler; } +void InterceptedInteraction::setInterceptions(::std::vector< InterceptedRequest >&& lInterceptions) +{ + m_lInterceptions = std::move(lInterceptions); +} + InterceptedInteraction::EInterceptionState InterceptedInteraction::intercepted( const InterceptedRequest&, const css::uno::Reference< css::task::XInteractionRequest >&) |