diff options
-rw-r--r-- | chart2/source/controller/inc/AccessibleBase.hxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx index 72aaeca61ad1..17e4433f5341 100644 --- a/chart2/source/controller/inc/AccessibleBase.hxx +++ b/chart2/source/controller/inc/AccessibleBase.hxx @@ -91,7 +91,7 @@ struct AccessibleElementInfo namespace impl { -typedef ::cppu::WeakComponentImplHelper6< +typedef ::cppu::PartialWeakComponentImplHelper6< ::com::sun::star::accessibility::XAccessible, ::com::sun::star::accessibility::XAccessibleContext, ::com::sun::star::accessibility::XAccessibleComponent, @@ -233,6 +233,15 @@ protected: void SetInfo( const AccessibleElementInfo & rNewInfo ); AccessibleUniqueId GetId() const; + // ________ XComponent ________ + virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException) + { WeakComponentImplHelperBase::dispose(); } + virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException) + { WeakComponentImplHelperBase::addEventListener(xListener); } + virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException) + { WeakComponentImplHelperBase::removeEventListener(xListener); } + + // ________ WeakComponentImplHelper (XComponent::dispose) ________ virtual void SAL_CALL disposing(); @@ -308,9 +317,6 @@ protected: const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); - using ::cppu::WeakComponentImplHelperBase::addEventListener; - using ::cppu::WeakComponentImplHelperBase::removeEventListener; - // ________ XAccessibleEventBroadcaster ________ virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) |