summaryrefslogtreecommitdiff
path: root/accessibility/inc/extended
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/inc/extended')
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBox.hxx18
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxBase.hxx80
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx18
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx89
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxHeaderCell.hxx10
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxTable.hxx55
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx59
-rw-r--r--accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx56
-rw-r--r--accessibility/inc/extended/AccessibleGridControl.hxx21
-rw-r--r--accessibility/inc/extended/AccessibleGridControlBase.hxx74
-rw-r--r--accessibility/inc/extended/AccessibleGridControlHeader.hxx55
-rw-r--r--accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx16
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTable.hxx83
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTableBase.hxx59
-rw-r--r--accessibility/inc/extended/AccessibleGridControlTableCell.hxx55
-rw-r--r--accessibility/inc/extended/accessiblebrowseboxcell.hxx2
-rw-r--r--accessibility/inc/extended/accessibleeditbrowseboxcell.hxx30
-rw-r--r--accessibility/inc/extended/accessibleiconchoicectrl.hxx35
-rw-r--r--accessibility/inc/extended/accessibleiconchoicectrlentry.hxx107
-rw-r--r--accessibility/inc/extended/accessiblelistbox.hxx35
-rw-r--r--accessibility/inc/extended/accessiblelistboxentry.hxx129
-rw-r--r--accessibility/inc/extended/accessibletabbar.hxx44
-rw-r--r--accessibility/inc/extended/accessibletabbarpage.hxx44
-rw-r--r--accessibility/inc/extended/accessibletabbarpagelist.hxx58
-rw-r--r--accessibility/inc/extended/accessibletablistbox.hxx9
-rw-r--r--accessibility/inc/extended/accessibletablistboxtable.hxx17
-rw-r--r--accessibility/inc/extended/listboxaccessible.hxx2
-rw-r--r--accessibility/inc/extended/textwindowaccessibility.hxx179
28 files changed, 557 insertions, 882 deletions
diff --git a/accessibility/inc/extended/AccessibleBrowseBox.hxx b/accessibility/inc/extended/AccessibleBrowseBox.hxx
index 69debf478f35..a2b31babbe13 100644
--- a/accessibility/inc/extended/AccessibleBrowseBox.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBox.hxx
@@ -63,15 +63,12 @@ protected:
// 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 XAccessible interface of the specified child. */
virtual css::uno::Reference<
css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
// XAccessibleComponent
@@ -80,20 +77,17 @@ protected:
*/
virtual css::uno::Reference<
css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
/** Grabs the focus to the BrowseBox. */
- virtual void SAL_CALL grabFocus()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// XServiceInfo
/** @return
The name of this class.
*/
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
public:
// helper functions
@@ -216,7 +210,7 @@ protected:
// XAccessible
virtual css::uno::Reference< css::accessibility::XAccessibleContext >
- SAL_CALL getAccessibleContext() throw ( css::uno::RuntimeException, std::exception ) override;
+ SAL_CALL getAccessibleContext() override;
// IAccessibleBrowseBox
virtual css::uno::Reference< css::accessibility::XAccessible >
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
index 81e81aa91c02..217e20a48ecb 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx
@@ -115,45 +115,36 @@ public:
// XAccessibleContext
/** @return A reference to the parent accessible object. */
- virtual css::uno::Reference<css::accessibility::XAccessible > SAL_CALL getAccessibleParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference<css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
/** @return
The description of this object.
*/
- virtual OUString SAL_CALL getAccessibleDescription()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleDescription() override;
/** @return
The name of this object.
*/
- virtual OUString SAL_CALL getAccessibleName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleName() override;
/** @return
The relation set (the BrowseBox does not have one).
*/
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override;
/** @return The set of current states. */
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet() override;
/** @return The parent's locale. */
- virtual css::lang::Locale SAL_CALL getLocale()
- throw ( css::accessibility::IllegalAccessibleComponentStateException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual css::lang::Locale SAL_CALL getLocale() override;
/** @return
The role of this object. Panel, ROWHEADER, COLUMNHEADER, TABLE, TABLE_CELL are supported.
*/
- 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:
- getAccessibleChildCount,
@@ -166,34 +157,29 @@ public:
/** @return
TRUE, if the point lies within the bounding box of this object. */
- virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& rPoint ) override;
/** @return The bounding box of this object. */
- virtual css::awt::Rectangle SAL_CALL getBounds()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds() override;
/** @return
The upper left corner of the bounding box relative to the parent. */
- virtual css::awt::Point SAL_CALL getLocation()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Point SAL_CALL getLocation() override;
/** @return
The upper left corner of the bounding box in screen coordinates. */
- virtual css::awt::Point SAL_CALL getLocationOnScreen()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen() override;
/** @return The size of the bounding box. */
- virtual css::awt::Size SAL_CALL getSize()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Size SAL_CALL getSize() override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
// XFocusListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL focusGained( const css::awt::FocusEvent& e ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL focusLost( const css::awt::FocusEvent& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
+ virtual void SAL_CALL focusGained( const css::awt::FocusEvent& e ) override;
+ virtual void SAL_CALL focusLost( const css::awt::FocusEvent& e ) override;
/* Derived classes have to implement:
- getAccessibleAt,
@@ -202,36 +188,30 @@ public:
/** @return
The accessible child rendered under the given point.
*/
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
// XAccessibleEventBroadcaster
/** Adds a new event listener */
virtual void SAL_CALL addAccessibleEventListener(
- const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener ) override;
/** Removes an event listener. */
virtual void SAL_CALL removeAccessibleEventListener(
- const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener ) override;
// XTypeProvider
/** @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;
// XServiceInfo
/** @return Whether the specified service is supported by this class. */
- virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override;
/** @return A list of all supported services. */
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
/* Derived classes have to implement:
- getImplementationName. */
@@ -292,15 +272,13 @@ protected:
@return The bounding box (VCL rect.) relative to the parent object.
@throws css::lang::DisposedException
*/
- Rectangle getBoundingBox()
- throw ( css::lang::DisposedException );
+ Rectangle getBoundingBox();
/** Locks all mutex's and calculates the bounding box in screen
coordinates.
@return The bounding box (VCL rect.) in screen coordinates.
@throws css::lang::DisposedException
*/
- Rectangle getBoundingBoxOnScreen()
- throw ( css::lang::DisposedException );
+ Rectangle getBoundingBoxOnScreen();
::comphelper::AccessibleEventNotifier::TClientId getClientId() const { return m_aClientId; }
void setClientId(::comphelper::AccessibleEventNotifier::TClientId _aNewClientId) { m_aClientId = _aNewClientId; }
@@ -310,8 +288,7 @@ public:
inline ::osl::Mutex& getMutex( ) { return m_aMutex; }
/** @throws <type>DisposedException</type> If the object is not alive. */
- void ensureIsAlive() const
- throw ( css::lang::DisposedException );
+ void ensureIsAlive() const;
protected:
@@ -400,8 +377,7 @@ protected:
// XAccessible
/** @return The XAccessibleContext interface of this object. */
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override;
};
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx b/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx
index df7f6a4f2c2f..2bb3328a5acb 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx
@@ -60,20 +60,20 @@ namespace accessibility
DECLARE_XTYPEPROVIDER( )
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getImplementationName() throw ( css::uno::RuntimeException, std::exception ) override;
- virtual ::sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual ::sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
// XAccessibleValue
- virtual css::uno::Any SAL_CALL getCurrentValue( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setCurrentValue( const css::uno::Any& aNumber ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getMaximumValue( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getMinimumValue( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getCurrentValue( ) override;
+ virtual sal_Bool SAL_CALL setCurrentValue( const css::uno::Any& aNumber ) override;
+ virtual css::uno::Any SAL_CALL getMaximumValue( ) override;
+ virtual css::uno::Any SAL_CALL getMinimumValue( ) override;
// internal
void SetChecked( bool _bChecked );
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
index c529875a7238..c81c836a4de8 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx
@@ -60,121 +60,88 @@ public:
The XAccessible interface of the specified child.
*/
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return The index of this object among the parent's children. */
virtual sal_Int32 SAL_CALL
- getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleIndexInParent() override;
// XAccessibleComponent
/** @return The accessible child rendered under the given point. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
/** Grabs the focus to (the current cell of) the data table. */
- virtual void SAL_CALL grabFocus()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// XAccessibleTable
/** @return The description text of the specified row. */
virtual OUString SAL_CALL
- getAccessibleRowDescription( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRowDescription( sal_Int32 nRow ) override;
/** @return The description text of the specified column. */
- virtual OUString SAL_CALL getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleColumnDescription( sal_Int32 nColumn ) override;
/** @return The XAccessibleTable interface of the row header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleRowHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRowHeaders() override;
/** @return The XAccessibleTable interface of the column header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleColumnHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleColumnHeaders() override;
/** @return An index list of completely selected rows. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleRows()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleRows() override;
/** @return An index list of completely selected columns. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleColumns()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleColumns() override;
/** @return TRUE, if the specified row is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) override;
/** @return TRUE, if the specified column is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) override;
/** @return The XAccessible interface of the cell object at the specified
cell position. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn ) override;
/** @return TRUE, if the specified cell is selected. */
- virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) override;
// XAccessibleSelection
/** Selects the specified child (row or column of the table). */
- virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return TRUE, if the specified child (row/column) is selected. */
- virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
/** Clears the complete selection. */
- virtual void SAL_CALL clearAccessibleSelection()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL clearAccessibleSelection() override;
/** Selects all children or first, if multiselection is not supported. */
- virtual void SAL_CALL selectAllAccessibleChildren()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL selectAllAccessibleChildren() override;
/** @return The number of selected rows/columns. */
- virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount() override;
/** @return The specified selected row/column. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
/** Removes the specified row/column from the selection. */
- virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
// 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;
@@ -185,12 +152,10 @@ public:
// XServiceInfo
/** @return The name of this class. */
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() 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 virtual methods
@@ -227,14 +192,12 @@ protected:
@return The absolute child index from the index of selected children.
@throws <type>IndexOutOfBoundsException</type>
If the specified index is invalid. */
- sal_Int32 implGetChildIndexFromSelectedIndex( sal_Int32 nSelectedChildIndex )
- throw ( css::lang::IndexOutOfBoundsException );
+ sal_Int32 implGetChildIndexFromSelectedIndex( sal_Int32 nSelectedChildIndex );
/** @attention This method requires locked mutex's and a living object.
@throws <type>IndexOutOfBoundsException</type>
If the specified row/column index (depending on type) is invalid. */
- void ensureIsValidHeaderIndex( sal_Int32 nIndex )
- throw ( css::lang::IndexOutOfBoundsException );
+ void ensureIsValidHeaderIndex( sal_Int32 nIndex );
};
// inlines
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxHeaderCell.hxx b/accessibility/inc/extended/AccessibleBrowseBoxHeaderCell.hxx
index b616529c0b65..cfe00b40aa07 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxHeaderCell.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxHeaderCell.hxx
@@ -33,17 +33,17 @@ namespace accessibility
const css::uno::Reference< css::awt::XWindow >& _xFocusWindow,
::svt::AccessibleBrowseBoxObjType _eObjType);
/** @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 XAccessible interface of the specified child. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex ) throw ( css::lang::IndexOutOfBoundsException,css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
/** Grabs the focus to the BrowseBox. */
- virtual void SAL_CALL grabFocus() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
inline bool isRowBarCell() const
{
@@ -53,7 +53,7 @@ namespace accessibility
/** @return
The name of this class.
*/
- virtual OUString SAL_CALL getImplementationName() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
/** Creates a new AccessibleStateSetHelper and fills it with states of the
current object.
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
index c4a3f01939ee..a6735dcdffcc 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx
@@ -45,84 +45,62 @@ public:
/** @return The XAccessible interface of the specified child. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
// XAccessibleComponent
/** @return The accessible child rendered under the given point. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
/** Grabs the focus to (the current cell of) the data table. */
- virtual void SAL_CALL grabFocus()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// XAccessibleTable
/** @return The description text of the specified row. */
- virtual OUString SAL_CALL getAccessibleRowDescription( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleRowDescription( sal_Int32 nRow ) override;
/** @return The description text of the specified column. */
- virtual OUString SAL_CALL getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleColumnDescription( sal_Int32 nColumn ) override;
/** @return The XAccessibleTable interface of the row header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleRowHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRowHeaders() override;
/** @return The XAccessibleTable interface of the column header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleColumnHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleColumnHeaders() override;
/** @return An index list of completely selected rows. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleRows()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleRows() override;
/** @return An index list of completely selected columns. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleColumns()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleColumns() override;
/** @return TRUE, if the specified row is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) override;
/** @return TRUE, if the specified column is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) override;
/** @return The XAccessible interface of the cell object at the specified
cell position. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn ) override;
/** @return TRUE, if the specified cell is selected. */
- virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) override;
// XServiceInfo
/** @return The name of this class. */
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
protected:
// internal virtual methods
@@ -141,8 +119,7 @@ protected:
@throws css::uno::RuntimeException
*/
css::uno::Reference< css::accessibility::XAccessibleTable >
- implGetHeaderBar( sal_Int32 nChildIndex )
- throw ( css::uno::RuntimeException );
+ implGetHeaderBar( sal_Int32 nChildIndex );
};
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx
index 6d0ff563271f..8b28ae8acf98 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx
@@ -60,12 +60,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,
@@ -80,51 +78,37 @@ 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,
@@ -141,8 +125,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;
@@ -153,12 +136,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;
// XServiceInfo
@@ -236,23 +217,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 );
};
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx
index 0fb9388ed61c..dbd0aa0e6e99 100644
--- a/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx
+++ b/accessibility/inc/extended/AccessibleBrowseBoxTableCell.hxx
@@ -56,8 +56,7 @@ namespace accessibility
// 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;
@@ -67,32 +66,26 @@ namespace accessibility
// XEventListener
using AccessibleBrowseBoxBase::disposing;
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
/** @return
The name of this class.
*/
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
/** @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 XAccessible interface of the specified child.
*/
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** Creates a new AccessibleStateSetHelper and fills it with states of the
current object.
@@ -105,27 +98,26 @@ namespace accessibility
/** @return The XAccessibleContext interface of this object. */
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
- getAccessibleContext()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleContext() override;
// XAccessibleText
- virtual sal_Int32 SAL_CALL getCaretPosition() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getText() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCaretPosition() override;
+ virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override;
+ virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
+ virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) override;
+ virtual sal_Int32 SAL_CALL getCharacterCount() override;
+ virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) override;
+ virtual OUString SAL_CALL getSelectedText() override;
+ virtual sal_Int32 SAL_CALL getSelectionStart() override;
+ virtual sal_Int32 SAL_CALL getSelectionEnd() override;
+ virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual OUString SAL_CALL getText() override;
+ virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
};
}
#endif // INCLUDED_ACCESSIBILITY_INC_EXTENDED_ACCESSIBLEBROWSEBOXTABLECELL_HXX
diff --git a/accessibility/inc/extended/AccessibleGridControl.hxx b/accessibility/inc/extended/AccessibleGridControl.hxx
index 703ea09a5cce..b55523d39d23 100644
--- a/accessibility/inc/extended/AccessibleGridControl.hxx
+++ b/accessibility/inc/extended/AccessibleGridControl.hxx
@@ -54,18 +54,14 @@ protected:
// 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 XAccessible interface of the specified child. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) 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;
// XAccessibleComponent ---------------------------------------------------
@@ -73,20 +69,17 @@ protected:
The accessible child rendered under the given point.
*/
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
/** Grabs the focus to the Grid Control. */
- virtual void SAL_CALL grabFocus()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// XServiceInfo -----------------------------------------------------------
/** @return
The name of this class.
*/
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
public:
// helper functions
@@ -182,7 +175,7 @@ protected:
// XAccessible
virtual css::uno::Reference< css::accessibility::XAccessibleContext >
- SAL_CALL getAccessibleContext() throw ( css::uno::RuntimeException, std::exception ) override;
+ SAL_CALL getAccessibleContext() override;
// IAccessibleTable
virtual css::uno::Reference< css::accessibility::XAccessible >
diff --git a/accessibility/inc/extended/AccessibleGridControlBase.hxx b/accessibility/inc/extended/AccessibleGridControlBase.hxx
index 3776fb4a0037..3c8dd7cbb11e 100644
--- a/accessibility/inc/extended/AccessibleGridControlBase.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlBase.hxx
@@ -87,47 +87,38 @@ public:
/** @return A reference to the parent accessible object. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleParent() override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
/** @return
The description of this object.
*/
- virtual OUString SAL_CALL getAccessibleDescription()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleDescription() override;
/** @return
The name of this object.
*/
- virtual OUString SAL_CALL getAccessibleName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleName() override;
/** @return
The relation set (the GridControl does not have one).
*/
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
- getAccessibleRelationSet()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRelationSet() override;
/** @return The set of current states. */
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL
- getAccessibleStateSet()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleStateSet() override;
/** @return The parent's locale. */
- virtual css::lang::Locale SAL_CALL getLocale()
- throw ( css::accessibility::IllegalAccessibleComponentStateException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual css::lang::Locale SAL_CALL getLocale() override;
/** @return
The role of this object. Panel, ROWHEADER, COLUMNHEADER, TABLE, TABLE_CELL are supported.
*/
- 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:
- getAccessibleChildCount,
@@ -140,29 +131,24 @@ public:
/** @return
TRUE, if the point lies within the bounding box of this object. */
- virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& rPoint ) override;
/** @return The bounding box of this object. */
- virtual css::awt::Rectangle SAL_CALL getBounds()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds() override;
/** @return
The upper left corner of the bounding box relative to the parent. */
- virtual css::awt::Point SAL_CALL getLocation()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Point SAL_CALL getLocation() override;
/** @return
The upper left corner of the bounding box in screen coordinates. */
- virtual css::awt::Point SAL_CALL getLocationOnScreen()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen() override;
/** @return The size of the bounding box. */
- virtual css::awt::Size SAL_CALL getSize()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual css::awt::Size SAL_CALL getSize() override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
/* Derived classes have to implement:
@@ -173,37 +159,31 @@ public:
The accessible child rendered under the given point.
*/
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
// XAccessibleEventBroadcaster
/** Adds a new event listener */
virtual void SAL_CALL addAccessibleEventListener(
- const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener ) override;
/** Removes an event listener. */
virtual void SAL_CALL removeAccessibleEventListener(
- const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ const css::uno::Reference< css::accessibility::XAccessibleEventListener>& rxListener ) override;
// XTypeProvider
/** @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;
// XServiceInfo
/** @return Whether the specified service is supported by this class. */
- virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override;
/** @return A list of all supported services. */
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSupportedServiceNames() override;
/* Derived classes have to implement:
- getImplementationName. */
@@ -251,8 +231,7 @@ protected:
// internal helper methods
/** @throws <type>DisposedException</type> If the object is not alive. */
- void ensureIsAlive() const
- throw ( css::lang::DisposedException );
+ void ensureIsAlive() const;
/** Changes the name of the object (flat assignment, no notify).
@attention This method requires a locked mutex. */
@@ -263,14 +242,12 @@ protected:
@return The bounding box (VCL rect.) relative to the parent object.
@throws css::lang::DisposedException
*/
- Rectangle getBoundingBox()
- throw ( css::lang::DisposedException );
+ Rectangle getBoundingBox();
///** Locks all mutex's and calculates the bounding box in screen
// coordinates.
// @return The bounding box (VCL rect.) in screen coordinates. */
/// @throws css::lang::DisposedException
- Rectangle getBoundingBoxOnScreen()
- throw ( css::lang::DisposedException );
+ Rectangle getBoundingBoxOnScreen();
::comphelper::AccessibleEventNotifier::TClientId getClientId() const { return m_aClientId; }
void setClientId(::comphelper::AccessibleEventNotifier::TClientId _aNewClientId) { m_aClientId = _aNewClientId; }
@@ -330,8 +307,7 @@ protected:
/** @return The XAccessibleContext interface of this object. */
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
- getAccessibleContext()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleContext() override;
private:
GridControlAccessibleElement( const GridControlAccessibleElement& ) = delete;
diff --git a/accessibility/inc/extended/AccessibleGridControlHeader.hxx b/accessibility/inc/extended/AccessibleGridControlHeader.hxx
index 49641b60dab0..439941a67a55 100644
--- a/accessibility/inc/extended/AccessibleGridControlHeader.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlHeader.hxx
@@ -53,90 +53,67 @@ public:
The XAccessible interface of the specified child.
*/
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
// XAccessibleComponent
/** @return The accessible child rendered under the given point. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
/** Grabs the focus to (the current cell of) the data table. */
- virtual void SAL_CALL grabFocus()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// XAccessibleTable
/** @return The description text of the specified row. */
virtual OUString SAL_CALL
- getAccessibleRowDescription( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRowDescription( sal_Int32 nRow ) override;
/** @return The description text of the specified column. */
virtual OUString SAL_CALL
- getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleColumnDescription( sal_Int32 nColumn ) override;
/** @return The XAccessibleTable interface of the row header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleRowHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRowHeaders() override;
/** @return The XAccessibleTable interface of the column header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleColumnHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleColumnHeaders() override;
/** @return An index list of completely selected rows. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleRows()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleRows() override;
/** @return An index list of completely selected columns. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleColumns()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleColumns() override;
/** @return TRUE, if the specified row is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) override;
/** @return TRUE, if the specified column is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) override;
/** @return The XAccessible interface of the cell object at the specified
cell position. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn ) override;
/** @return TRUE, if the specified cell is selected. */
- virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) override;
// XServiceInfo
/** @return The name of this class. */
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() 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:
/** Returns the specified row or column. Uses one of the parameters,
diff --git a/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx b/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx
index 82272a000ad4..bece5123ad85 100644
--- a/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlHeaderCell.hxx
@@ -32,23 +32,22 @@ namespace accessibility
::svt::table::IAccessibleTable& _rTable,
::svt::table::AccessibleTableControlObjType _eObjType);
/** @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 XAccessible interface of the specified child. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex ) throw ( css::lang::IndexOutOfBoundsException,css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
/** Grabs the focus to the GridControl. */
- virtual void SAL_CALL grabFocus() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// 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;
@@ -59,13 +58,12 @@ namespace accessibility
/** @return The XAccessibleContext interface of this object. */
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
- getAccessibleContext()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleContext() override;
/** @return
The name of this class.
*/
- virtual OUString SAL_CALL getImplementationName() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
/** Creates a new AccessibleStateSetHelper and fills it with states of the
current object.
diff --git a/accessibility/inc/extended/AccessibleGridControlTable.hxx b/accessibility/inc/extended/AccessibleGridControlTable.hxx
index ab88c0284a5e..df91b96c664e 100644
--- a/accessibility/inc/extended/AccessibleGridControlTable.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTable.hxx
@@ -52,118 +52,85 @@ public:
/** @return The XAccessible interface of the specified child. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
// XAccessibleComponent
/** @return The accessible child rendered under the given point. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint( const css::awt::Point& rPoint )
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleAtPoint( const css::awt::Point& rPoint ) override;
/** Grabs the focus to (the current cell of) the data table. */
- virtual void SAL_CALL grabFocus()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
// XAccessibleTable
/** @return The description text of the specified row. */
- virtual OUString SAL_CALL getAccessibleRowDescription( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleRowDescription( sal_Int32 nRow ) override;
/** @return The description text of the specified column. */
- virtual OUString SAL_CALL getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getAccessibleColumnDescription( sal_Int32 nColumn ) override;
/** @return The XAccessibleTable interface of the row header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleRowHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleRowHeaders() override;
/** @return The XAccessibleTable interface of the column header bar. */
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
- getAccessibleColumnHeaders()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleColumnHeaders() override;
/** @return An index list of completely selected rows. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleRows()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleRows() override;
/** @return An index list of completely selected columns. */
virtual css::uno::Sequence< sal_Int32 > SAL_CALL
- getSelectedAccessibleColumns()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleColumns() override;
/** @return TRUE, if the specified row is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) override;
/** @return TRUE, if the specified column is completely selected. */
- virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) override;
/** @return The XAccessible interface of the cell object at the specified
cell position. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn ) override;
/** @return TRUE, if the specified cell is selected. */
- virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) override;
// XAccessibleSelection
/** Selects the specified child (row or column of the table). */
- virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
/** @return TRUE, if the specified child (row/column) is selected. */
- virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
/** Clears the complete selection. */
- virtual void SAL_CALL clearAccessibleSelection()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL clearAccessibleSelection() override;
/** Selects all children or first, if multiselection is not supported. */
- virtual void SAL_CALL selectAllAccessibleChildren()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL selectAllAccessibleChildren() override;
/** @return The number of selected rows/columns. */
- virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount() override;
/** @return The specified selected row/column. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
/** Removes the specified row/column from the selection. */
- virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
// 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;
@@ -173,8 +140,7 @@ public:
// XServiceInfo
/** @return The name of this class. */
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
/**@return m_pCellVector*/
std::vector< AccessibleGridControlTableCell* >& getCellVector() { return m_pCellVector;}
@@ -197,8 +163,7 @@ protected:
// @return The XAccessibleTable interface of the specified header bar. */
/// @throws css::uno::RuntimeException
css::uno::Reference< css::accessibility::XAccessibleTable >
- implGetHeaderBar( sal_Int32 nChildIndex )
- throw ( css::uno::RuntimeException );
+ implGetHeaderBar( sal_Int32 nChildIndex );
};
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 );
};
diff --git a/accessibility/inc/extended/AccessibleGridControlTableCell.hxx b/accessibility/inc/extended/AccessibleGridControlTableCell.hxx
index 6edf28c07560..e3d138f1eaff 100644
--- a/accessibility/inc/extended/AccessibleGridControlTableCell.hxx
+++ b/accessibility/inc/extended/AccessibleGridControlTableCell.hxx
@@ -38,7 +38,7 @@ namespace accessibility
inline sal_Int32 getColumnPos( ) const { return m_nColPos; }
// XAccessibleComponent
- virtual void SAL_CALL grabFocus() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
protected:
AccessibleGridControlCell(
@@ -81,8 +81,7 @@ namespace accessibility
// 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;
@@ -91,28 +90,23 @@ namespace accessibility
virtual void SAL_CALL release() throw () override;
/** @return The index of this object among the parent's children. */
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
/** @return
The name of this class.
*/
- virtual OUString SAL_CALL getImplementationName()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
/** @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 XAccessible interface of the specified child.
*/
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
/** Creates a new AccessibleStateSetHelper and fills it with states of the
current object.
@@ -125,27 +119,26 @@ namespace accessibility
/** @return The XAccessibleContext interface of this object. */
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
- getAccessibleContext()
- throw ( css::uno::RuntimeException, std::exception ) override;
+ getAccessibleContext() override;
// XAccessibleText
- virtual sal_Int32 SAL_CALL getCaretPosition() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getText() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCaretPosition() override;
+ virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override;
+ virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
+ virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) override;
+ virtual sal_Int32 SAL_CALL getCharacterCount() override;
+ virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) override;
+ virtual OUString SAL_CALL getSelectedText() override;
+ virtual sal_Int32 SAL_CALL getSelectionStart() override;
+ virtual sal_Int32 SAL_CALL getSelectionEnd() override;
+ virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual OUString SAL_CALL getText() override;
+ virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
};
}
#endif // INCLUDED_ACCESSIBILITY_INC_EXTENDED_ACCESSIBLEGRIDCONTROLTABLECELL_HXX
diff --git a/accessibility/inc/extended/accessiblebrowseboxcell.hxx b/accessibility/inc/extended/accessiblebrowseboxcell.hxx
index 53415c1dcc80..113e38f752df 100644
--- a/accessibility/inc/extended/accessiblebrowseboxcell.hxx
+++ b/accessibility/inc/extended/accessiblebrowseboxcell.hxx
@@ -49,7 +49,7 @@ namespace accessibility
virtual Rectangle implGetBoundingBoxOnScreen() override;
// XAccessibleComponent
- virtual void SAL_CALL grabFocus() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL grabFocus() override;
protected:
AccessibleBrowseBoxCell(
diff --git a/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx b/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx
index 7082ee06c0d4..d81f4e65ae01 100644
--- a/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx
+++ b/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx
@@ -52,11 +52,11 @@ namespace accessibility
protected:
// XAccessibleComponent
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override ;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override ;
+ virtual sal_Int32 SAL_CALL getForeground( ) override ;
+ virtual sal_Int32 SAL_CALL getBackground( ) override ;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw ( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
// XInterface
DECLARE_XINTERFACE( )
@@ -64,27 +64,27 @@ namespace accessibility
DECLARE_XTYPEPROVIDER( )
// XAccessibleContext
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
- sal_Int16 SAL_CALL getAccessibleRole() throw ( css::uno::RuntimeException, std::exception ) override;
+ sal_Int16 SAL_CALL getAccessibleRole() override;
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
protected:
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XComponent/OComponentProxyAggregationHelper (needs to be disambiguated)
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) final override;
+ virtual void SAL_CALL dispose() final override;
// OAccessibleContextWrapperHelper();
- void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) throw (css::uno::RuntimeException) override;
+ void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) override;
private:
EditBrowseBoxTableCell( const EditBrowseBoxTableCell& ) = delete;
@@ -126,7 +126,7 @@ namespace accessibility
virtual ~EditBrowseBoxTableCellAccess() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XComponent/OComponentHelper
virtual void SAL_CALL disposing() override;
diff --git a/accessibility/inc/extended/accessibleiconchoicectrl.hxx b/accessibility/inc/extended/accessibleiconchoicectrl.hxx
index 8b54e3058a86..3d83f7762bf9 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrl.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrl.hxx
@@ -71,30 +71,29 @@ namespace accessibility
DECLARE_XINTERFACE()
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
// XAccessibleSelection
- void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException, std::exception) override;
- sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
+ sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
+ void SAL_CALL clearAccessibleSelection( ) override;
+ void SAL_CALL selectAllAccessibleChildren( ) override;
+ sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) override;
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
};
diff --git a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
index 6217ea70f43b..fb020db028b5 100644
--- a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
+++ b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx
@@ -80,16 +80,12 @@ namespace accessibility
/// @throws css::lang::DisposedException
/// @throws css::uno::RuntimeException
- Rectangle GetBoundingBox()
- throw (css::lang::DisposedException,
- css::uno::RuntimeException);
+ Rectangle GetBoundingBox();
/// @throws css::lang::DisposedException
/// @throws css::uno::RuntimeException
- Rectangle GetBoundingBoxOnScreen()
- throw (css::lang::DisposedException,
- css::uno::RuntimeException);
+ Rectangle GetBoundingBoxOnScreen();
/// @throws css::lang::DisposedException
- void EnsureIsAlive() const throw ( css::lang::DisposedException );
+ void EnsureIsAlive() const;
protected:
virtual ~AccessibleIconChoiceCtrlEntry() override;
@@ -116,71 +112,70 @@ namespace accessibility
const css::uno::Reference< css::accessibility::XAccessible >& _xParent );
// XTypeProvider
- 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;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
// XAccessibleComponent
- virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL grabFocus( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds( ) override;
+ virtual css::awt::Point SAL_CALL getLocation( ) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen( ) override;
+ virtual css::awt::Size SAL_CALL getSize( ) override;
+ virtual void SAL_CALL grabFocus( ) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
// XAccessibleText
- virtual sal_Int32 SAL_CALL getCaretPosition() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getText() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCaretPosition() override;
+ virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override;
+ virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
+ virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) override;
+ virtual sal_Int32 SAL_CALL getCharacterCount() override;
+ virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) override;
+ virtual OUString SAL_CALL getSelectedText() override;
+ virtual sal_Int32 SAL_CALL getSelectionStart() override;
+ virtual sal_Int32 SAL_CALL getSelectionEnd() override;
+ virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual OUString SAL_CALL getText() override;
+ virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
// XAccessibleEventBroadcaster
- virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
+ virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
// XAccessibleAction
- virtual sal_Int32 SAL_CALL getAccessibleActionCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleActionDescription( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleActionCount( ) override;
+ virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex ) override;
+ virtual OUString SAL_CALL getAccessibleActionDescription( sal_Int32 nIndex ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding( sal_Int32 nIndex ) override;
};
diff --git a/accessibility/inc/extended/accessiblelistbox.hxx b/accessibility/inc/extended/accessiblelistbox.hxx
index e8249be5d20a..924eb9347d15 100644
--- a/accessibility/inc/extended/accessiblelistbox.hxx
+++ b/accessibility/inc/extended/accessiblelistbox.hxx
@@ -84,30 +84,29 @@ namespace accessibility
DECLARE_XINTERFACE()
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
// XAccessibleSelection
- void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException, std::exception) override;
- sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
+ sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
+ void SAL_CALL clearAccessibleSelection( ) override;
+ void SAL_CALL selectAllAccessibleChildren( ) override;
+ sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) override;
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
private:
diff --git a/accessibility/inc/extended/accessiblelistboxentry.hxx b/accessibility/inc/extended/accessiblelistboxentry.hxx
index 7b0a49538131..8c233ec3025d 100644
--- a/accessibility/inc/extended/accessiblelistboxentry.hxx
+++ b/accessibility/inc/extended/accessiblelistboxentry.hxx
@@ -96,16 +96,12 @@ namespace accessibility
/// @throws css::lang::DisposedException
/// @throws css::uno::RuntimeException
- Rectangle GetBoundingBox()
- throw (css::lang::DisposedException,
- css::uno::RuntimeException);
+ Rectangle GetBoundingBox();
/// @throws css::lang::DisposedException
/// @throws css::uno::RuntimeException
- Rectangle GetBoundingBoxOnScreen()
- throw (css::lang::DisposedException,
- css::uno::RuntimeException);
+ Rectangle GetBoundingBoxOnScreen();
/// @throws css::lang::DisposedException
- void EnsureIsAlive() const throw ( css::lang::DisposedException );
+ void EnsureIsAlive() const;
void NotifyAccessibleEvent( sal_Int16 _nEventId, const css::uno::Any& _aOldValue, const css::uno::Any& _aNewValue );
@@ -117,7 +113,7 @@ namespace accessibility
virtual void SAL_CALL disposing() override;
// ListBoxAccessible/XComponent
- virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) final override;
+ virtual void SAL_CALL dispose() final override;
// OCommonAccessibleText
virtual OUString implGetText() override;
@@ -141,81 +137,80 @@ namespace accessibility
protected:
// XTypeProvider
- 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;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
// XAccessibleComponent
- virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getBounds( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocation( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Point SAL_CALL getLocationOnScreen( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Size SAL_CALL getSize( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL grabFocus( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds( ) override;
+ virtual css::awt::Point SAL_CALL getLocation( ) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen( ) override;
+ virtual css::awt::Size SAL_CALL getSize( ) override;
+ virtual void SAL_CALL grabFocus( ) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
// XAccessibleText
- virtual sal_Int32 SAL_CALL getCaretPosition() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getCharacterCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getSelectedText() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionStart() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectionEnd() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getText() throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getCaretPosition() override;
+ virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override;
+ virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
+ virtual css::awt::Rectangle SAL_CALL getCharacterBounds( sal_Int32 nIndex ) override;
+ virtual sal_Int32 SAL_CALL getCharacterCount() override;
+ virtual sal_Int32 SAL_CALL getIndexAtPoint( const css::awt::Point& aPoint ) override;
+ virtual OUString SAL_CALL getSelectedText() override;
+ virtual sal_Int32 SAL_CALL getSelectionStart() override;
+ virtual sal_Int32 SAL_CALL getSelectionEnd() override;
+ virtual sal_Bool SAL_CALL setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual OUString SAL_CALL getText() override;
+ virtual OUString SAL_CALL getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) override;
// XAccessibleEventBroadcaster
- virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
+ virtual void SAL_CALL removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override;
// XAccessibleAction
- virtual sal_Int32 SAL_CALL getAccessibleActionCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleActionDescription( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleActionCount( ) override;
+ virtual sal_Bool SAL_CALL doAccessibleAction( sal_Int32 nIndex ) override;
+ virtual OUString SAL_CALL getAccessibleActionDescription( sal_Int32 nIndex ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding( sal_Int32 nIndex ) override;
// XAccessibleSelection
- void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException, std::exception) override;
- sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getCurrentValue( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setCurrentValue( const css::uno::Any& aNumber ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getMaximumValue( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getMinimumValue( ) throw (css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
+ sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
+ void SAL_CALL clearAccessibleSelection( ) override;
+ void SAL_CALL selectAllAccessibleChildren( ) override;
+ sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) override;
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ virtual css::uno::Any SAL_CALL getCurrentValue( ) override;
+ virtual sal_Bool SAL_CALL setCurrentValue( const css::uno::Any& aNumber ) override;
+ virtual css::uno::Any SAL_CALL getMaximumValue( ) override;
+ virtual css::uno::Any SAL_CALL getMinimumValue( ) override;
private:
css::uno::Reference< css::accessibility::XAccessible > implGetParentAccessible( ) const;
SvTreeListEntry* GetRealChild(sal_Int32 nIndex);
diff --git a/accessibility/inc/extended/accessibletabbar.hxx b/accessibility/inc/extended/accessibletabbar.hxx
index 6415a46844aa..9b95e994a885 100644
--- a/accessibility/inc/extended/accessibletabbar.hxx
+++ b/accessibility/inc/extended/accessibletabbar.hxx
@@ -56,7 +56,7 @@ namespace accessibility
void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
- virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException) override;
+ virtual css::awt::Rectangle implGetBounds( ) override;
// XComponent
virtual void SAL_CALL disposing() override;
@@ -72,35 +72,35 @@ namespace accessibility
DECLARE_XTYPEPROVIDER()
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
// XAccessibleComponent
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL grabFocus( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) override;
+ virtual void SAL_CALL grabFocus( ) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
// XAccessibleExtendedComponent
- virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTitledBorderText( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getToolTipText( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont( ) override;
+ virtual OUString SAL_CALL getTitledBorderText( ) override;
+ virtual OUString SAL_CALL getToolTipText( ) override;
};
diff --git a/accessibility/inc/extended/accessibletabbarpage.hxx b/accessibility/inc/extended/accessibletabbarpage.hxx
index 04239d6fa0c8..3fa3d7a93a54 100644
--- a/accessibility/inc/extended/accessibletabbarpage.hxx
+++ b/accessibility/inc/extended/accessibletabbarpage.hxx
@@ -71,7 +71,7 @@ namespace accessibility
void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
- virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException) override;
+ virtual css::awt::Rectangle implGetBounds( ) override;
// XComponent
virtual void SAL_CALL disposing() override;
@@ -88,35 +88,35 @@ namespace accessibility
DECLARE_XTYPEPROVIDER()
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
// XAccessibleComponent
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL grabFocus( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) override;
+ virtual void SAL_CALL grabFocus( ) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
// XAccessibleExtendedComponent
- virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTitledBorderText( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getToolTipText( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont( ) override;
+ virtual OUString SAL_CALL getTitledBorderText( ) override;
+ virtual OUString SAL_CALL getToolTipText( ) override;
};
diff --git a/accessibility/inc/extended/accessibletabbarpagelist.hxx b/accessibility/inc/extended/accessibletabbarpagelist.hxx
index f473fe9adfd2..be287316b426 100644
--- a/accessibility/inc/extended/accessibletabbarpagelist.hxx
+++ b/accessibility/inc/extended/accessibletabbarpagelist.hxx
@@ -67,7 +67,7 @@ namespace accessibility
void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
- virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException) override;
+ virtual css::awt::Rectangle implGetBounds( ) override;
// XComponent
virtual void SAL_CALL disposing() override;
@@ -83,44 +83,44 @@ namespace accessibility
DECLARE_XTYPEPROVIDER()
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XAccessible
- virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) override;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getAccessibleRole( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleDescription( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getAccessibleName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::accessibility::IllegalAccessibleComponentStateException, css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) override;
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override;
+ virtual sal_Int16 SAL_CALL getAccessibleRole( ) override;
+ virtual OUString SAL_CALL getAccessibleDescription( ) override;
+ virtual OUString SAL_CALL getAccessibleName( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet( ) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) override;
// XAccessibleComponent
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL grabFocus( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getForeground( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getBackground( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) override;
+ virtual void SAL_CALL grabFocus( ) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
// XAccessibleExtendedComponent
- virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTitledBorderText( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getToolTipText( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont( ) override;
+ virtual OUString SAL_CALL getTitledBorderText( ) override;
+ virtual OUString SAL_CALL getToolTipText( ) override;
// XAccessibleSelection
- virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
+ virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
+ virtual void SAL_CALL clearAccessibleSelection( ) override;
+ virtual void SAL_CALL selectAllAccessibleChildren( ) override;
+ virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nChildIndex ) override;
};
diff --git a/accessibility/inc/extended/accessibletablistbox.hxx b/accessibility/inc/extended/accessibletablistbox.hxx
index 9673b8675884..bca61c58e09f 100644
--- a/accessibility/inc/extended/accessibletablistbox.hxx
+++ b/accessibility/inc/extended/accessibletablistbox.hxx
@@ -61,17 +61,14 @@ 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 XAccessible interface of the specified child. */
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild( sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ getAccessibleChild( sal_Int32 nChildIndex ) override;
// XAccessibleContext
- css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() throw ( css::uno::RuntimeException, std::exception ) override;
+ css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override;
// IAccessibleTabListBox
virtual css::uno::Reference< css::accessibility::XAccessible >
diff --git a/accessibility/inc/extended/accessibletablistboxtable.hxx b/accessibility/inc/extended/accessibletablistboxtable.hxx
index 6a12f2ad829b..1a3bfc6c8dea 100644
--- a/accessibility/inc/extended/accessibletablistboxtable.hxx
+++ b/accessibility/inc/extended/accessibletablistboxtable.hxx
@@ -83,17 +83,16 @@ public:
DECLARE_XTYPEPROVIDER( )
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
// XAccessibleSelection
- void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL clearAccessibleSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- void SAL_CALL selectAllAccessibleChildren( ) throw (css::uno::RuntimeException, std::exception) override;
- sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) override;
+ sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) override;
+ void SAL_CALL clearAccessibleSelection( ) override;
+ void SAL_CALL selectAllAccessibleChildren( ) override;
+ sal_Int32 SAL_CALL getSelectedAccessibleChildCount( ) override;
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
+ void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) override;
};
diff --git a/accessibility/inc/extended/listboxaccessible.hxx b/accessibility/inc/extended/listboxaccessible.hxx
index 58576fd1e0e3..7e17bf55313d 100644
--- a/accessibility/inc/extended/listboxaccessible.hxx
+++ b/accessibility/inc/extended/listboxaccessible.hxx
@@ -60,7 +60,7 @@ namespace accessibility
@throws css::uno::RuntimeException
*/
- virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) = 0;
+ virtual void SAL_CALL dispose() = 0;
/// to be called in the dispose method of your derived class
void disposing();
diff --git a/accessibility/inc/extended/textwindowaccessibility.hxx b/accessibility/inc/extended/textwindowaccessibility.hxx
index 6cb2d6a30243..f7e739eb2d6e 100644
--- a/accessibility/inc/extended/textwindowaccessibility.hxx
+++ b/accessibility/inc/extended/textwindowaccessibility.hxx
@@ -169,196 +169,134 @@ protected:
private:
virtual css::uno::Reference< css::accessibility::XAccessibleContext >
- SAL_CALL getAccessibleContext() throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getAccessibleContext() override;
- virtual ::sal_Int32 SAL_CALL getAccessibleChildCount()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getAccessibleChildCount() override;
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleChild(::sal_Int32 i)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ getAccessibleChild(::sal_Int32 i) override;
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleParent() throw (css::uno::RuntimeException, std::exception) override;
+ getAccessibleParent() override;
- virtual ::sal_Int32 SAL_CALL getAccessibleIndexInParent()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getAccessibleIndexInParent() override;
- virtual ::sal_Int16 SAL_CALL getAccessibleRole()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int16 SAL_CALL getAccessibleRole() override;
- virtual OUString SAL_CALL getAccessibleDescription()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getAccessibleDescription() override;
- virtual OUString SAL_CALL getAccessibleName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getAccessibleName() override;
virtual
css::uno::Reference< css::accessibility::XAccessibleRelationSet >
- SAL_CALL getAccessibleRelationSet() throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getAccessibleRelationSet() override;
virtual
css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL
- getAccessibleStateSet() throw (css::uno::RuntimeException, std::exception) override;
+ getAccessibleStateSet() override;
- virtual css::lang::Locale SAL_CALL getLocale()
- throw (css::accessibility::IllegalAccessibleComponentStateException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::lang::Locale SAL_CALL getLocale() override;
- virtual sal_Bool SAL_CALL containsPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL containsPoint(css::awt::Point const & rPoint) override;
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception) override;
+ getAccessibleAtPoint(css::awt::Point const & rPoint) override;
- virtual css::awt::Rectangle SAL_CALL getBounds()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::awt::Rectangle SAL_CALL getBounds() override;
- virtual css::awt::Point SAL_CALL getLocation()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::awt::Point SAL_CALL getLocation() override;
- virtual css::awt::Point SAL_CALL getLocationOnScreen()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::awt::Point SAL_CALL getLocationOnScreen() override;
- virtual css::awt::Size SAL_CALL getSize()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::awt::Size SAL_CALL getSize() override;
- virtual void SAL_CALL grabFocus() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL grabFocus() override;
- virtual css::util::Color SAL_CALL getForeground()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::util::Color SAL_CALL getForeground() override;
- virtual css::util::Color SAL_CALL getBackground()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::util::Color SAL_CALL getBackground() override;
- virtual ::sal_Int32 SAL_CALL getCaretPosition()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getCaretPosition() override;
- virtual sal_Bool SAL_CALL setCaretPosition(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL setCaretPosition(::sal_Int32 nIndex) override;
- virtual ::sal_Unicode SAL_CALL getCharacter(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Unicode SAL_CALL getCharacter(::sal_Int32 nIndex) override;
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
- getCharacterAttributes(::sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ getCharacterAttributes(::sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
virtual css::awt::Rectangle SAL_CALL
- getCharacterBounds(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ getCharacterBounds(::sal_Int32 nIndex) override;
- virtual ::sal_Int32 SAL_CALL getCharacterCount()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getCharacterCount() override;
virtual ::sal_Int32 SAL_CALL
- getIndexAtPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception) override;
+ getIndexAtPoint(css::awt::Point const & rPoint) override;
- virtual OUString SAL_CALL getSelectedText()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getSelectedText() override;
- virtual ::sal_Int32 SAL_CALL getSelectionStart()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getSelectionStart() override;
- virtual ::sal_Int32 SAL_CALL getSelectionEnd()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getSelectionEnd() override;
virtual sal_Bool SAL_CALL setSelection(::sal_Int32 nStartIndex,
- ::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nEndIndex) override;
- virtual OUString SAL_CALL getText()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getText() override;
virtual OUString SAL_CALL getTextRange(::sal_Int32 nStartIndex,
- ::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nEndIndex) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) override;
virtual sal_Bool SAL_CALL copyText(::sal_Int32 nStartIndex,
- ::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nEndIndex) override;
virtual sal_Bool SAL_CALL cutText(::sal_Int32 nStartIndex,
- ::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nEndIndex) override;
- virtual sal_Bool SAL_CALL pasteText(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL pasteText(::sal_Int32 nIndex) override;
virtual sal_Bool SAL_CALL deleteText(::sal_Int32 nStartIndex,
- ::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nEndIndex) override;
virtual sal_Bool SAL_CALL insertText(OUString const & rText,
- ::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int32 nIndex) override;
virtual sal_Bool SAL_CALL replaceText(
::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex,
- OUString const & rReplacement)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ OUString const & rReplacement) override;
virtual sal_Bool SAL_CALL setAttributes(
::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex,
css::uno::Sequence< css::beans::PropertyValue > const &
- rAttributeSet)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ rAttributeSet) override;
- virtual sal_Bool SAL_CALL setText(OUString const & rText)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL setText(OUString const & rText) override;
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
- getDefaultAttributes(const css::uno::Sequence< OUString >& RequestedAttributes)
- throw (css::uno::RuntimeException, std::exception) override;
+ getDefaultAttributes(const css::uno::Sequence< OUString >& RequestedAttributes) override;
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
- getRunAttributes(::sal_Int32 Index, const css::uno::Sequence< OUString >& RequestedAttributes)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ getRunAttributes(::sal_Int32 Index, const css::uno::Sequence< OUString >& RequestedAttributes) override;
- virtual ::sal_Int32 SAL_CALL getLineNumberAtIndex( ::sal_Int32 nIndex )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getLineNumberAtIndex( ::sal_Int32 nIndex ) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtLineNumber( ::sal_Int32 nLineNo )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtLineNumber( ::sal_Int32 nLineNo ) override;
- virtual css::accessibility::TextSegment SAL_CALL getTextAtLineWithCaret( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::accessibility::TextSegment SAL_CALL getTextAtLineWithCaret( ) override;
- virtual ::sal_Int32 SAL_CALL getNumberOfLineWithCaret( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getNumberOfLineWithCaret( ) override;
virtual void SAL_CALL addAccessibleEventListener(
css::uno::Reference<
- css::accessibility::XAccessibleEventListener > const & rListener)
- throw (css::uno::RuntimeException, std::exception) override;
+ css::accessibility::XAccessibleEventListener > const & rListener) override;
virtual void SAL_CALL removeAccessibleEventListener(
css::uno::Reference<
- css::accessibility::XAccessibleEventListener > const & rListener)
- throw (css::uno::RuntimeException, std::exception) override;
+ css::accessibility::XAccessibleEventListener > const & rListener) override;
virtual void SAL_CALL disposing() override;
@@ -550,20 +488,15 @@ public:
retrieveParagraphRelationSet( Paragraph const * pParagraph );
private:
- virtual ::sal_Int32 SAL_CALL getAccessibleChildCount()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getAccessibleChildCount() override;
virtual css::uno::Reference< css::accessibility::XAccessible >
- SAL_CALL getAccessibleChild(::sal_Int32 i)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getAccessibleChild(::sal_Int32 i) override;
- virtual ::sal_Int16 SAL_CALL getAccessibleRole()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int16 SAL_CALL getAccessibleRole() override;
virtual css::uno::Reference< css::accessibility::XAccessible >
- SAL_CALL getAccessibleAtPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getAccessibleAtPoint(css::awt::Point const & rPoint) override;
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override;
virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override;