summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-28 11:25:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-03-28 11:25:58 +0100
commit972e7a5bea34c8bffc3d87dfb28987659096f698 (patch)
tree2b22d967afeffbee345322de6e995fa598740d0d
parent9c49bc794469eb2c7bd6ff668470b244e621cadc (diff)
use PartialWeakComponentImplHelperX for overloaded-virtual
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 076a535..d2a742b 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -68,7 +68,7 @@ using ::rtl::OUString;
namespace sdext { namespace presenter {
namespace {
- typedef ::cppu::WeakComponentImplHelper5 <
+ typedef ::cppu::PartialWeakComponentImplHelper5 <
cssa::XAccessible,
cssa::XAccessibleContext,
cssa::XAccessibleComponent,
@@ -112,7 +112,15 @@ public:
void UpdateStateSet (void);
-
+ //----- XComponent ---------------------------------------------------
+
+ virtual void SAL_CALL dispose()throw (cssu::RuntimeException)
+ { WeakComponentImplHelperBase::dispose(); }
+ virtual void SAL_CALL addEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException)
+ { WeakComponentImplHelperBase::addEventListener(xListener); }
+ virtual void SAL_CALL removeEventListener(const cssu::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (cssu::RuntimeException)
+ { WeakComponentImplHelperBase::removeEventListener(xListener); }
+
//----- XAccessible -------------------------------------------------------
virtual cssu::Reference<cssa::XAccessibleContext> SAL_CALL
@@ -200,9 +208,6 @@ public:
const cssu::Reference<cssa::XAccessibleEventListener>& rxListener)
throw (cssu::RuntimeException);
- using PresenterAccessibleObjectInterfaceBase::addEventListener;
- using PresenterAccessibleObjectInterfaceBase::removeEventListener;
-
//----- XWindowListener ---------------------------------------------------
virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent)