From a9493229bb453a8f437c45d838777e2ba8217b76 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 21 Mar 2021 13:41:39 +0200 Subject: use single-use attribute for ContextChangeEventMultiplexer instead of rtl::Instance, which means it will get cleaned up when UNO shuts down Change-Id: I13b36f1fe570f789036ef54ecfb7d0a85ce1450c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112842 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/inc/helper/mischelper.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/inc') diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx index 4dcb94003449..d05ae360a082 100644 --- a/framework/inc/helper/mischelper.hxx +++ b/framework/inc/helper/mischelper.hxx @@ -246,10 +246,12 @@ class WeakDocumentEventListener final : public ::cppu::WeakImplHelper GetFirstListenerWith_Impl( + css::uno::Reference const & xComponentContext, css::uno::Reference const& xEventFocus, std::function const&)> const& rPredicate); extern auto (*g_pGetMultiplexerListener)( + css::uno::Reference const & xComponentContext, css::uno::Reference const&, std::function const&)> const&) -> css::uno::Reference; -- cgit