From 86abf3a682b424dc0fcbccf030f5a0b9bfb81d8c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 7 Aug 2021 09:24:46 +0200 Subject: create comphelper::OMultiTypeInterfaceContainerHelper2 and use it based on OInterfaceContainerHelper2 which is considerably faster than the original OInterfaceContainerHelper Change-Id: I9c8b6d0e5382018824bf7188a26343703abf2d51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120161 Tested-by: Jenkins Reviewed-by: Noel Grandin --- UnoControls/source/inc/OConnectionPointContainerHelper.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'UnoControls/source/inc') diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx index 54eed76e6ce1..c1e46b457f79 100644 --- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx @@ -21,7 +21,7 @@ #include #include -#include +#include namespace com::sun::star::lang { class XConnectionPoint; } @@ -92,11 +92,11 @@ public: // Is necessary to get container member at OConnectionPoint-instance. // Impl methods are not threadsafe! // "Parent" function must do this. - ::cppu::OMultiTypeInterfaceContainerHelper& impl_getMultiTypeContainer() { return m_aMultiTypeContainer; } + comphelper::OMultiTypeInterfaceContainerHelper2& impl_getMultiTypeContainer() { return m_aMultiTypeContainer; } private: ::osl::Mutex& m_aSharedMutex; - ::cppu::OMultiTypeInterfaceContainerHelper m_aMultiTypeContainer; // Container to hold listener + comphelper::OMultiTypeInterfaceContainerHelper2 m_aMultiTypeContainer; // Container to hold listener }; } -- cgit