Kaydet (Commit) 694aee0c authored tarafından Caolán McNamara's avatar Caolán McNamara

use PartialWeakComponentImplHelperX for overloaded-virtual

üst 10a88360
...@@ -55,7 +55,7 @@ namespace accessibility { ...@@ -55,7 +55,7 @@ namespace accessibility {
class AccessibleSlideSorterObject; class AccessibleSlideSorterObject;
typedef ::cppu::WeakComponentImplHelper6< typedef ::cppu::PartialWeakComponentImplHelper6<
::com::sun::star::accessibility::XAccessible, ::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster, ::com::sun::star::accessibility::XAccessibleEventBroadcaster,
::com::sun::star::accessibility::XAccessibleContext, ::com::sun::star::accessibility::XAccessibleContext,
...@@ -100,6 +100,15 @@ public: ...@@ -100,6 +100,15 @@ public:
*/ */
AccessibleSlideSorterObject* GetAccessibleChildImplementation (sal_Int32 nIndex); 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 ======================================================= //===== XAccessible =======================================================
virtual ::com::sun::star::uno::Reference< virtual ::com::sun::star::uno::Reference<
...@@ -121,9 +130,6 @@ public: ...@@ -121,9 +130,6 @@ public:
::com::sun::star::accessibility::XAccessibleEventListener >& rxListener ) ::com::sun::star::accessibility::XAccessibleEventListener >& rxListener )
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException);
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
//===== XAccessibleContext ============================================== //===== XAccessibleContext ==============================================
/// Return the number of currently visible children. /// Return the number of currently visible children.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment