diff options
Diffstat (limited to 'accessibility/inc/extended/AccessibleGridControlTableBase.hxx')
-rw-r--r-- | accessibility/inc/extended/AccessibleGridControlTableBase.hxx | 59 |
1 files changed, 18 insertions, 41 deletions
diff --git a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx index 9276247f3a5a..051e99b1da96 100644 --- a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx +++ b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx @@ -56,12 +56,10 @@ public: // XAccessibleContext /** @return The count of visible children. */ - virtual sal_Int32 SAL_CALL getAccessibleChildCount() - throw ( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getAccessibleChildCount() override; /** @return The role of this object (a table). */ - virtual sal_Int16 SAL_CALL getAccessibleRole() - throw ( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int16 SAL_CALL getAccessibleRole() override; /* Derived classes have to implement: - getAccessibleChild, @@ -76,49 +74,35 @@ public: // XAccessibleTable /** @return The number of used rows in the table (0 = empty table). */ - virtual sal_Int32 SAL_CALL getAccessibleRowCount() - throw ( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getAccessibleRowCount() override; /** @return The number of used columns in the table (0 = empty table). */ - virtual sal_Int32 SAL_CALL getAccessibleColumnCount() - throw ( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getAccessibleColumnCount() override; /** @return The row extent of the specified cell (always 1). */ virtual sal_Int32 SAL_CALL - getAccessibleRowExtentAt( sal_Int32 nRow, sal_Int32 nColumn ) - throw ( css::lang::IndexOutOfBoundsException, - css::uno::RuntimeException, std::exception ) override; + getAccessibleRowExtentAt( sal_Int32 nRow, sal_Int32 nColumn ) override; /** @return The column extent of the specified cell (always 1). */ virtual sal_Int32 SAL_CALL - getAccessibleColumnExtentAt( sal_Int32 nRow, sal_Int32 nColumn ) - throw ( css::lang::IndexOutOfBoundsException, - css::uno::RuntimeException, std::exception ) override; + getAccessibleColumnExtentAt( sal_Int32 nRow, sal_Int32 nColumn ) override; /** @return The caption cell of the table (not supported). */ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL - getAccessibleCaption() - throw ( css::uno::RuntimeException, std::exception ) override; + getAccessibleCaption() override; /** @return The summary object of the table (not supported). */ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL - getAccessibleSummary() - throw ( css::uno::RuntimeException, std::exception ) override; + getAccessibleSummary() override; /** @return The child index of the specified cell. */ - virtual sal_Int32 SAL_CALL getAccessibleIndex( sal_Int32 nRow, sal_Int32 nColumn ) - throw ( css::lang::IndexOutOfBoundsException, - css::uno::RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getAccessibleIndex( sal_Int32 nRow, sal_Int32 nColumn ) override; /** @return The row index of the specified child cell. */ - virtual sal_Int32 SAL_CALL getAccessibleRow( sal_Int32 nChildIndex ) - throw ( css::lang::IndexOutOfBoundsException, - css::uno::RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getAccessibleRow( sal_Int32 nChildIndex ) override; /** @return The column index of the specified child cell. */ - virtual sal_Int32 SAL_CALL getAccessibleColumn( sal_Int32 nChildIndex ) - throw ( css::lang::IndexOutOfBoundsException, - css::uno::RuntimeException, std::exception ) override; + virtual sal_Int32 SAL_CALL getAccessibleColumn( sal_Int32 nChildIndex ) override; /* Derived classes have to implement: - getAccessibleRowDescription, @@ -135,8 +119,7 @@ public: // XInterface /** Queries for a new interface. */ - css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) - throw ( css::uno::RuntimeException, std::exception ) override; + css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override; /** Aquires the object (calls acquire() on base class). */ virtual void SAL_CALL acquire() throw () override; @@ -147,12 +130,10 @@ public: // XTypeProvider /** @return A sequence of possible types (received from base classes). */ - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() - throw ( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; /** @return An unique implementation ID. */ - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() - throw ( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; protected: // internal helper methods @@ -172,23 +153,19 @@ protected: /** @attention This method requires locked mutex's and a living object. @throws <type>IndexOutOfBoundsException</type> If the specified row index is invalid. */ - void ensureIsValidRow( sal_Int32 nRow ) - throw ( css::lang::IndexOutOfBoundsException ); + void ensureIsValidRow( sal_Int32 nRow ); /** @attention This method requires locked mutex's and a living object. @throws <type>IndexOutOfBoundsException</type> If the specified column index is invalid. */ - void ensureIsValidColumn( sal_Int32 nColumn ) - throw ( css::lang::IndexOutOfBoundsException ); + void ensureIsValidColumn( sal_Int32 nColumn ); /** @attention This method requires locked mutex's and a living object. @throws <type>IndexOutOfBoundsException</type> If the specified cell address is invalid. */ - void ensureIsValidAddress( sal_Int32 nRow, sal_Int32 nColumn ) - throw ( css::lang::IndexOutOfBoundsException ); + void ensureIsValidAddress( sal_Int32 nRow, sal_Int32 nColumn ); /** @attention This method requires locked mutex's and a living object. @throws <type>IndexOutOfBoundsException</type> If the specified child index is invalid. */ - void ensureIsValidIndex( sal_Int32 nChildIndex ) - throw ( css::lang::IndexOutOfBoundsException ); + void ensureIsValidIndex( sal_Int32 nChildIndex ); }; |