[Libreoffice-commits] .: chart2/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Mar 28 07:24:30 PDT 2011


 chart2/source/controller/inc/AccessibleBase.hxx |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

New commits:
commit 560ed720ed9095d604fd5a6d08ba1c7f220c42f3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 28 13:44:03 2011 +0100

    use PartialWeakComponentImplHelperX for overloaded-virtual

diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx
index 80a6223..5330743 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 )


More information about the Libreoffice-commits mailing list