diff options
Diffstat (limited to 'editeng/source/accessibility/AccessibleHyperlink.cxx')
-rw-r--r-- | editeng/source/accessibility/AccessibleHyperlink.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editeng/source/accessibility/AccessibleHyperlink.cxx b/editeng/source/accessibility/AccessibleHyperlink.cxx index fd4443ccad76..e6e8138b51eb 100644 --- a/editeng/source/accessibility/AccessibleHyperlink.cxx +++ b/editeng/source/accessibility/AccessibleHyperlink.cxx @@ -52,12 +52,12 @@ namespace accessibility } // XAccessibleAction - sal_Int32 SAL_CALL AccessibleHyperlink::getAccessibleActionCount() throw (uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleHyperlink::getAccessibleActionCount() { return isValid() ? 1 : 0; } - sal_Bool SAL_CALL AccessibleHyperlink::doAccessibleAction( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleHyperlink::doAccessibleAction( sal_Int32 nIndex ) { bool bRet = false; if ( isValid() && ( nIndex == 0 ) ) @@ -68,7 +68,7 @@ namespace accessibility return bRet; } - OUString SAL_CALL AccessibleHyperlink::getAccessibleActionDescription( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleHyperlink::getAccessibleActionDescription( sal_Int32 nIndex ) { OUString aDesc; @@ -78,7 +78,7 @@ namespace accessibility return aDesc; } - uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL AccessibleHyperlink::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) + uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL AccessibleHyperlink::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { uno::Reference< css::accessibility::XAccessibleKeyBinding > xKeyBinding; @@ -99,27 +99,27 @@ namespace accessibility } // XAccessibleHyperlink - uno::Any SAL_CALL AccessibleHyperlink::getAccessibleActionAnchor( sal_Int32 /*nIndex*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) + uno::Any SAL_CALL AccessibleHyperlink::getAccessibleActionAnchor( sal_Int32 /*nIndex*/ ) { return uno::Any(); } - uno::Any SAL_CALL AccessibleHyperlink::getAccessibleActionObject( sal_Int32 /*nIndex*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) + uno::Any SAL_CALL AccessibleHyperlink::getAccessibleActionObject( sal_Int32 /*nIndex*/ ) { return uno::Any(); } - sal_Int32 SAL_CALL AccessibleHyperlink::getStartIndex() throw (uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleHyperlink::getStartIndex() { return nStartIdx; } - sal_Int32 SAL_CALL AccessibleHyperlink::getEndIndex() throw (uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleHyperlink::getEndIndex() { return nEndIdx; } - sal_Bool SAL_CALL AccessibleHyperlink::isValid( ) throw (uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleHyperlink::isValid( ) { return rTA.IsValid(); } |