diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-28 13:46:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-28 14:13:45 +0100 |
commit | 694aee0ce38cf498b9fcc0c7c0bf13ae904efb77 (patch) | |
tree | 94437f88d18cd91f3102f561c947b59e7f100ce5 /sd | |
parent | 10a883604e7ebe88e1e4372dd07dda348fb61e6a (diff) |
use PartialWeakComponentImplHelperX for overloaded-virtual
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/AccessibleSlideSorterView.hxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sd/source/ui/inc/AccessibleSlideSorterView.hxx b/sd/source/ui/inc/AccessibleSlideSorterView.hxx index e418b342b193..42255be7ca71 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterView.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterView.hxx @@ -55,7 +55,7 @@ namespace accessibility { class AccessibleSlideSorterObject; -typedef ::cppu::WeakComponentImplHelper6< +typedef ::cppu::PartialWeakComponentImplHelper6< ::com::sun::star::accessibility::XAccessible, ::com::sun::star::accessibility::XAccessibleEventBroadcaster, ::com::sun::star::accessibility::XAccessibleContext, @@ -100,6 +100,15 @@ public: */ AccessibleSlideSorterObject* GetAccessibleChildImplementation (sal_Int32 nIndex); + //===== 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); } + //===== XAccessible ======================================================= virtual ::com::sun::star::uno::Reference< @@ -121,9 +130,6 @@ public: ::com::sun::star::accessibility::XAccessibleEventListener >& rxListener ) throw (::com::sun::star::uno::RuntimeException); - using cppu::WeakComponentImplHelperBase::addEventListener; - using cppu::WeakComponentImplHelperBase::removeEventListener; - //===== XAccessibleContext ============================================== /// Return the number of currently visible children. |