diff options
Diffstat (limited to 'include/framework/titlehelper.hxx')
-rw-r--r-- | include/framework/titlehelper.hxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/framework/titlehelper.hxx b/include/framework/titlehelper.hxx index 064bfe8cc7b7..c87111064f0d 100644 --- a/include/framework/titlehelper.hxx +++ b/include/framework/titlehelper.hxx @@ -27,10 +27,9 @@ #include <com/sun/star/frame/XFrameActionListener.hpp> #include <com/sun/star/document/XDocumentEventListener.hpp> -#include <cppuhelper/basemutex.hxx> #include <cppuhelper/weakref.hxx> -#include <cppuhelper/implbase.hxx> -#include <comphelper/multicontainer2.hxx> +#include <comphelper/compbase.hxx> +#include <comphelper/interfacecontainer4.hxx> #include <rtl/ustrbuf.hxx> @@ -51,8 +50,8 @@ namespace framework{ @threadsafe */ -class UNLESS_MERGELIBS_MORE(FWK_DLLPUBLIC) TitleHelper final : private ::cppu::BaseMutex - , public ::cppu::WeakImplHelper< css::frame::XTitle , +class UNLESS_MERGELIBS_MORE(FWK_DLLPUBLIC) TitleHelper final : + public ::comphelper::WeakImplHelper< css::frame::XTitle , css::frame::XTitleChangeBroadcaster, css::frame::XTitleChangeListener , css::frame::XFrameActionListener , @@ -172,7 +171,7 @@ class UNLESS_MERGELIBS_MORE(FWK_DLLPUBLIC) TitleHelper final : private ::cppu::B ::sal_Int32 m_nLeasedNumber; /** contains all title change listener */ - comphelper::OMultiTypeInterfaceContainerHelper2 m_aListener; + comphelper::OInterfaceContainerHelper4<css::frame::XTitleChangeListener> m_aTitleChangeListeners; }; } // namespace framework |