diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 2 | ||||
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index 8ea0907b38e5..565de5a5b63a 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -580,7 +580,7 @@ void SAL_CALL OLESimpleStorage::addEventListener( throw lang::DisposedException(); if ( !m_pListenersContainer ) - m_pListenersContainer = new ::comphelper::OInterfaceContainerHelper2( m_aMutex ); + m_pListenersContainer = new ::comphelper::OInterfaceContainerHelper3<css::lang::XEventListener>( m_aMutex ); m_pListenersContainer->addInterface( xListener ); } diff --git a/sot/source/unoolestorage/xolesimplestorage.hxx b/sot/source/unoolestorage/xolesimplestorage.hxx index 2ec9f715d873..765cd87caf12 100644 --- a/sot/source/unoolestorage/xolesimplestorage.hxx +++ b/sot/source/unoolestorage/xolesimplestorage.hxx @@ -24,6 +24,7 @@ #include <memory> +#include <comphelper/interfacecontainer3.hxx> #include <com/sun/star/embed/XOLESimpleStorage.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <cppuhelper/implbase.hxx> @@ -35,7 +36,6 @@ namespace com::sun::star::io { class XInputStream; } namespace com::sun::star::io { class XStream; } namespace com::sun::star::lang { class XEventListener; } namespace com::sun::star::uno { class XComponentContext; } -namespace comphelper { class OInterfaceContainerHelper2; } class BaseStorage; class SvStream; @@ -51,7 +51,7 @@ class OLESimpleStorage : public cppu::WeakImplHelper<css::embed::XOLESimpleStora std::unique_ptr<SvStream> m_pStream; std::unique_ptr<BaseStorage> m_pStorage; - ::comphelper::OInterfaceContainerHelper2* m_pListenersContainer; // list of listeners + ::comphelper::OInterfaceContainerHelper3<css::lang::XEventListener>* m_pListenersContainer; // list of listeners css::uno::Reference<css::uno::XComponentContext> m_xContext; bool m_bNoTemporaryCopy; |