diff options
-rw-r--r-- | sdext/source/presenter/PresenterAccessibility.cxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx index 076a535..d2a742b 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -68,7 +68,7 @@ using ::rtl::OUString; namespace sdext { namespace presenter { namespace { - typedef ::cppu::WeakComponentImplHelper5 < + typedef ::cppu::PartialWeakComponentImplHelper5 < cssa::XAccessible, cssa::XAccessibleContext, cssa::XAccessibleComponent, @@ -112,7 +112,15 @@ public: void UpdateStateSet (void); - + //----- XComponent --------------------------------------------------- + + virtual void SAL_CALL dispose()throw (cssu::RuntimeException) + { WeakComponentImplHelperBase::dispose(); } + virtual void SAL_CALL addEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException) + { WeakComponentImplHelperBase::addEventListener(xListener); } + virtual void SAL_CALL removeEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException) + { WeakComponentImplHelperBase::removeEventListener(xListener); } + //----- XAccessible ------------------------------------------------------- virtual cssu::Reference<cssa::XAccessibleContext> SAL_CALL @@ -200,9 +208,6 @@ public: const cssu::Reference<cssa::XAccessibleEventListener>& rxListener) throw (cssu::RuntimeException); - using PresenterAccessibleObjectInterfaceBase::addEventListener; - using PresenterAccessibleObjectInterfaceBase::removeEventListener; - //----- XWindowListener --------------------------------------------------- virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent) |