diff options
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleEditObject.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleEditObject.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx index 878ee603d219..6393c872f253 100644 --- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx +++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx @@ -128,7 +128,6 @@ void ScAccessibleEditObject::GotFocus() css::uno::Any SAL_CALL ScAccessibleEditObject::queryInterface (const css::uno::Type & rType) - throw (css::uno::RuntimeException, std::exception) { css::uno::Any aReturn = ScAccessibleContextBase::queryInterface (rType); if ( ! aReturn.hasValue()) @@ -153,7 +152,6 @@ void SAL_CALL uno::Reference< XAccessible > SAL_CALL ScAccessibleEditObject::getAccessibleAtPoint( const awt::Point& rPoint ) - throw (uno::RuntimeException, std::exception) { uno::Reference<XAccessible> xRet; if (containsPoint(rPoint)) @@ -170,7 +168,6 @@ uno::Reference< XAccessible > SAL_CALL ScAccessibleEditObject::getAccessibleAtPo } Rectangle ScAccessibleEditObject::GetBoundingBoxOnScreen() const - throw (uno::RuntimeException, std::exception) { Rectangle aScreenBounds; @@ -199,7 +196,6 @@ Rectangle ScAccessibleEditObject::GetBoundingBoxOnScreen() const } Rectangle ScAccessibleEditObject::GetBoundingBox() const - throw (uno::RuntimeException, std::exception) { Rectangle aBounds( GetBoundingBoxOnScreen() ); @@ -234,7 +230,6 @@ Rectangle ScAccessibleEditObject::GetBoundingBox() const sal_Int32 SAL_CALL ScAccessibleEditObject::getAccessibleChildCount() - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -244,8 +239,6 @@ sal_Int32 SAL_CALL uno::Reference< XAccessible > SAL_CALL ScAccessibleEditObject::getAccessibleChild(sal_Int32 nIndex) - throw (uno::RuntimeException, - lang::IndexOutOfBoundsException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -255,7 +248,6 @@ uno::Reference< XAccessible > SAL_CALL uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessibleEditObject::getAccessibleStateSet() - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; uno::Reference<XAccessibleStateSet> xParentStates; @@ -283,7 +275,6 @@ uno::Reference<XAccessibleStateSet> SAL_CALL OUString SAL_CALL ScAccessibleEditObject::createAccessibleDescription() - throw (uno::RuntimeException) { // OSL_FAIL("Should never be called, because is set in the constructor.") return OUString(); @@ -291,7 +282,6 @@ OUString SAL_CALL OUString SAL_CALL ScAccessibleEditObject::createAccessibleName() - throw (uno::RuntimeException, std::exception) { OSL_FAIL("Should never be called, because is set in the constructor."); return OUString(); @@ -301,7 +291,6 @@ OUString SAL_CALL void SAL_CALL ScAccessibleEditObject::addAccessibleEventListener(const uno::Reference<XAccessibleEventListener>& xListener) - throw (uno::RuntimeException, std::exception) { CreateTextHelper(); @@ -312,7 +301,6 @@ void SAL_CALL void SAL_CALL ScAccessibleEditObject::removeAccessibleEventListener(const uno::Reference<XAccessibleEventListener>& xListener) - throw (uno::RuntimeException, std::exception) { CreateTextHelper(); @@ -324,7 +312,6 @@ void SAL_CALL //===== XServiceInfo ==================================================== OUString SAL_CALL ScAccessibleEditObject::getImplementationName() - throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleEditObject"); } @@ -333,7 +320,6 @@ OUString SAL_CALL ScAccessibleEditObject::getImplementationName() uno::Sequence<sal_Int8> SAL_CALL ScAccessibleEditObject::getImplementationId() - throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } @@ -393,13 +379,11 @@ void ScAccessibleEditObject::CreateTextHelper() } sal_Int32 SAL_CALL ScAccessibleEditObject::getForeground( ) - throw (css::uno::RuntimeException, std::exception) { return GetFgBgColor(SC_UNONAME_CCOLOR); } sal_Int32 SAL_CALL ScAccessibleEditObject::getBackground( ) - throw (css::uno::RuntimeException, std::exception) { return GetFgBgColor(SC_UNONAME_CELLBACK); } @@ -444,13 +428,10 @@ sal_Int32 ScAccessibleEditObject::GetFgBgColor( const OUString &strPropColor) //===== XAccessibleSelection ============================================ void SAL_CALL ScAccessibleEditObject::selectAccessibleChild( sal_Int32 ) -throw ( IndexOutOfBoundsException, RuntimeException, std::exception ) { } sal_Bool SAL_CALL ScAccessibleEditObject::isAccessibleChildSelected( sal_Int32 nChildIndex ) -throw ( IndexOutOfBoundsException, - RuntimeException, std::exception ) { uno::Reference<XAccessible> xAcc = getAccessibleChild( nChildIndex ); uno::Reference<XAccessibleContext> xContext; @@ -472,17 +453,14 @@ throw ( IndexOutOfBoundsException, } void SAL_CALL ScAccessibleEditObject::clearAccessibleSelection( ) -throw ( RuntimeException, std::exception ) { } void SAL_CALL ScAccessibleEditObject::selectAllAccessibleChildren( ) -throw ( RuntimeException, std::exception ) { } sal_Int32 SAL_CALL ScAccessibleEditObject::getSelectedAccessibleChildCount() -throw ( RuntimeException, std::exception ) { sal_Int32 nCount = 0; sal_Int32 TotalCount = getAccessibleChildCount(); @@ -492,7 +470,6 @@ throw ( RuntimeException, std::exception ) } uno::Reference<XAccessible> SAL_CALL ScAccessibleEditObject::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) -throw ( IndexOutOfBoundsException, RuntimeException, std::exception) { if ( nSelectedChildIndex > getSelectedAccessibleChildCount() ) throw IndexOutOfBoundsException(); @@ -509,13 +486,10 @@ throw ( IndexOutOfBoundsException, RuntimeException, std::exception) void SAL_CALL ScAccessibleEditObject::deselectAccessibleChild( sal_Int32 ) - throw ( IndexOutOfBoundsException, - RuntimeException, std::exception ) { } uno::Reference< XAccessibleRelationSet > ScAccessibleEditObject::getAccessibleRelationSet( ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; vcl::Window* pWindow = mpWindow; |