From 70626249cd247d9acdad417b8eaf252bae22c059 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 29 Nov 2012 00:27:03 +0100 Subject: 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 --- starmath/source/accessibility.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'starmath/source/accessibility.cxx') diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 1140f6003d1f..d88d4906e808 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -404,7 +404,7 @@ Locale SAL_CALL SmGraphicAccessible::getLocale() } -void SAL_CALL SmGraphicAccessible::addEventListener( +void SAL_CALL SmGraphicAccessible::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException) { @@ -420,7 +420,7 @@ void SAL_CALL SmGraphicAccessible::addEventListener( } } -void SAL_CALL SmGraphicAccessible::removeEventListener( +void SAL_CALL SmGraphicAccessible::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException) { @@ -1923,14 +1923,14 @@ Locale SAL_CALL SmEditAccessible::getLocale( ) // XAccessibleEventBroadcaster -void SAL_CALL SmEditAccessible::addEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) +void SAL_CALL SmEditAccessible::addAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException) { if (pTextHelper) // not disposing (about to destroy view shell) pTextHelper->AddEventListener( xListener ); } -void SAL_CALL SmEditAccessible::removeEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) +void SAL_CALL SmEditAccessible::removeAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException) { if (pTextHelper) // not disposing (about to destroy view shell) -- cgit v1.2.3