diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 00:27:03 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 16:58:16 +0100 |
commit | 70626249cd247d9acdad417b8eaf252bae22c059 (patch) | |
tree | 2327193318672b583f12be99cdcaec5ef4d3830d /starmath | |
parent | dda524a71145441b336f5f9f6e559fa31d32d3d2 (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 'starmath')
-rw-r--r-- | starmath/source/accessibility.cxx | 8 | ||||
-rw-r--r-- | starmath/source/accessibility.hxx | 8 |
2 files changed, 8 insertions, 8 deletions
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() | |||
404 | } | 404 | } |
405 | 405 | ||
406 | 406 | ||
407 | void SAL_CALL SmGraphicAccessible::addEventListener( | 407 | void SAL_CALL SmGraphicAccessible::addAccessibleEventListener( |
408 | const Reference< XAccessibleEventListener >& xListener ) | 408 | const Reference< XAccessibleEventListener >& xListener ) |
409 | throw (RuntimeException) | 409 | throw (RuntimeException) |
410 | { | 410 | { |
@@ -420,7 +420,7 @@ void SAL_CALL SmGraphicAccessible::addEventListener( | |||
420 | } | 420 | } |
421 | } | 421 | } |
422 | 422 | ||
423 | void SAL_CALL SmGraphicAccessible::removeEventListener( | 423 | void SAL_CALL SmGraphicAccessible::removeAccessibleEventListener( |
424 | const Reference< XAccessibleEventListener >& xListener ) | 424 | const Reference< XAccessibleEventListener >& xListener ) |
425 | throw (RuntimeException) | 425 | throw (RuntimeException) |
426 | { | 426 | { |
@@ -1923,14 +1923,14 @@ Locale SAL_CALL SmEditAccessible::getLocale( ) | |||
1923 | 1923 | ||
1924 | 1924 | ||
1925 | // XAccessibleEventBroadcaster | 1925 | // XAccessibleEventBroadcaster |
1926 | void SAL_CALL SmEditAccessible::addEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) | 1926 | void SAL_CALL SmEditAccessible::addAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) |
1927 | throw (RuntimeException) | 1927 | throw (RuntimeException) |
1928 | { | 1928 | { |
1929 | if (pTextHelper) // not disposing (about to destroy view shell) | 1929 | if (pTextHelper) // not disposing (about to destroy view shell) |
1930 | pTextHelper->AddEventListener( xListener ); | 1930 | pTextHelper->AddEventListener( xListener ); |
1931 | } | 1931 | } |
1932 | 1932 | ||
1933 | void SAL_CALL SmEditAccessible::removeEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) | 1933 | void SAL_CALL SmEditAccessible::removeAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) |
1934 | throw (RuntimeException) | 1934 | throw (RuntimeException) |
1935 | { | 1935 | { |
1936 | if (pTextHelper) // not disposing (about to destroy view shell) | 1936 | if (pTextHelper) // not disposing (about to destroy view shell) |
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx index 6a05823e22c1..cac3fdc0a170 100644 --- a/starmath/source/accessibility.hxx +++ b/starmath/source/accessibility.hxx | |||
@@ -124,8 +124,8 @@ public: | |||
124 | virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException); | 124 | virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException); |
125 | 125 | ||
126 | // XAccessibleEventBroadcaster | 126 | // XAccessibleEventBroadcaster |
127 | virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); | 127 | virtual void SAL_CALL addAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); |
128 | virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); | 128 | virtual void SAL_CALL removeAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); |
129 | 129 | ||
130 | // XAccessibleText | 130 | // XAccessibleText |
131 | virtual sal_Int32 SAL_CALL getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException); | 131 | virtual sal_Int32 SAL_CALL getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException); |
@@ -376,8 +376,8 @@ public: | |||
376 | virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException); | 376 | virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException); |
377 | 377 | ||
378 | // XAccessibleEventBroadcaster | 378 | // XAccessibleEventBroadcaster |
379 | virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); | 379 | virtual void SAL_CALL addAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); |
380 | virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); | 380 | virtual void SAL_CALL removeAccessibleEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); |
381 | 381 | ||
382 | // XServiceInfo | 382 | // XServiceInfo |
383 | virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); | 383 | virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); |