summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 00:27:03 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-29 16:58:16 +0100
commit70626249cd247d9acdad417b8eaf252bae22c059 (patch)
tree2327193318672b583f12be99cdcaec5ef4d3830d /sdext
parentdda524a71145441b336f5f9f6e559fa31d32d3d2 (diff)
API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index b3f8048b05e5..9bf043454a58 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -184,11 +184,11 @@ public:
//----- XAccessibleEventBroadcaster --------------------------------------
- virtual void SAL_CALL addEventListener (
+ virtual void SAL_CALL addAccessibleEventListener (
const cssu::Reference<cssa::XAccessibleEventListener>& rxListener)
throw (cssu::RuntimeException);
- virtual void SAL_CALL removeEventListener (
+ virtual void SAL_CALL removeAccessibleEventListener (
const cssu::Reference<cssa::XAccessibleEventListener>& rxListener)
throw (cssu::RuntimeException);
@@ -1105,7 +1105,7 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getBackground (void)
//----- XAccessibleEventBroadcaster -------------------------------------------
-void SAL_CALL PresenterAccessible::AccessibleObject::addEventListener (
+void SAL_CALL PresenterAccessible::AccessibleObject::addAccessibleEventListener (
const Reference<XAccessibleEventListener>& rxListener)
throw (RuntimeException)
{
@@ -1125,7 +1125,7 @@ void SAL_CALL PresenterAccessible::AccessibleObject::addEventListener (
}
}
-void SAL_CALL PresenterAccessible::AccessibleObject::removeEventListener (
+void SAL_CALL PresenterAccessible::AccessibleObject::removeAccessibleEventListener (
const Reference<XAccessibleEventListener>& rxListener)
throw (RuntimeException)
{
@@ -1309,7 +1309,7 @@ void PresenterAccessible::AccessibleObject::FireAccessibleEvent (
{
// Listener has been disposed and should have been removed
// already.
- removeEventListener(*iListener);
+ removeAccessibleEventListener(*iListener);
}
catch(Exception&)
{