diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-28 13:44:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-28 14:13:02 +0100 |
commit | fa6a1107ed0b2f8eb7e435d4fb22f72ae670a039 (patch) | |
tree | 24b95e42be0653f579c81e7a7f5298fa96576fb7 /chart2 | |
parent | ab4515c23bb2cdbb23ddf887e27a24e7d2120296 (diff) |
use PartialWeakComponentImplHelperX for overloaded-virtual
Diffstat (limited to 'chart2')
-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 ) |