include/toolkit/controls/unocontrol.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 218adeb2afb0fb22b7e3ea34ab7b98f7a2f6acce Author: Noel Grandin <[email protected]> AuthorDate: Mon Nov 22 21:35:26 2021 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Nov 27 12:10:21 2021 +0100 use more OInterfaceContainerHelper3 in UnoControl Change-Id: I701822285acbd0edb47aaf80c8f26541abfcd53b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125933 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/include/toolkit/controls/unocontrol.hxx b/include/toolkit/controls/unocontrol.hxx index ff6c74608614..e2ed655d180e 100644 --- a/include/toolkit/controls/unocontrol.hxx +++ b/include/toolkit/controls/unocontrol.hxx @@ -32,6 +32,7 @@ #include <osl/mutex.hxx> #include <toolkit/helper/listenermultiplexer.hxx> #include <tools/long.hxx> +#include <comphelper/interfacecontainer3.hxx> #include <cppuhelper/weakref.hxx> #include <cppuhelper/implbase9.hxx> #include <com/sun/star/util/XModeChangeBroadcaster.hpp> @@ -87,7 +88,7 @@ protected: MouseListenerMultiplexer maMouseListeners; MouseMotionListenerMultiplexer maMouseMotionListeners; PaintListenerMultiplexer maPaintListeners; - ::comphelper::OInterfaceContainerHelper2 maModeChangeListeners; + ::comphelper::OInterfaceContainerHelper3<css::util::XModeChangeListener> maModeChangeListeners; css::uno::Reference< css::uno::XInterface > mxContext; css::uno::Reference< css::awt::XControlModel > mxModel;
