summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/AccessibleEditObject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/AccessibleEditObject.hxx')
-rw-r--r--sc/source/ui/inc/AccessibleEditObject.hxx73
1 files changed, 23 insertions, 50 deletions
diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx
index 1b35218fcfd5..962a36af1daa 100644
--- a/sc/source/ui/inc/AccessibleEditObject.hxx
+++ b/sc/source/ui/inc/AccessibleEditObject.hxx
@@ -72,8 +72,7 @@ public:
///===== XInterface =====================================================
virtual css::uno::Any SAL_CALL queryInterface(
- css::uno::Type const & rType )
- throw (css::uno::RuntimeException, std::exception) override;
+ css::uno::Type const & rType ) override;
virtual void SAL_CALL acquire() throw () override;
@@ -82,17 +81,14 @@ public:
virtual css::uno::Reference< css::accessibility::XAccessible >
SAL_CALL getAccessibleAtPoint(
- const css::awt::Point& rPoint )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::awt::Point& rPoint ) override;
protected:
/// Return the object's current bounding box relative to the desktop.
- virtual Rectangle GetBoundingBoxOnScreen() const
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual Rectangle GetBoundingBoxOnScreen() const override;
/// Return the object's current bounding box relative to the parent object.
- virtual Rectangle GetBoundingBox() const
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual Rectangle GetBoundingBox() const override;
public:
///===== XAccessibleContext ==============================================
@@ -100,57 +96,40 @@ public:
/// Return the number of currently visible children.
/// override to calculate this on demand
virtual sal_Int32 SAL_CALL
- getAccessibleChildCount()
- throw (css::uno::RuntimeException, std::exception) override;
+ getAccessibleChildCount() override;
/// Return the specified child or NULL if index is invalid.
/// override to calculate this on demand
virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
- getAccessibleChild(sal_Int32 nIndex)
- throw (css::uno::RuntimeException,
- css::lang::IndexOutOfBoundsException, std::exception) override;
+ getAccessibleChild(sal_Int32 nIndex) 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;
//===== XAccessibleSelection ============================================
virtual void SAL_CALL selectAccessibleChild(
- sal_Int32 nChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
+ sal_Int32 nChildIndex ) 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;
+ 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 )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ sal_Int32 nSelectedChildIndex ) override;
virtual void SAL_CALL deselectAccessibleChild(
- sal_Int32 nSelectedChildIndex )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (css::uno::RuntimeException, std::exception) override;
+ sal_Int32 nSelectedChildIndex ) override;
+ virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) override;
protected:
/// Return this object's description.
virtual OUString SAL_CALL
- createAccessibleDescription()
- throw (css::uno::RuntimeException) override;
+ createAccessibleDescription() override;
/// Return the object's current name.
virtual OUString SAL_CALL
- createAccessibleName()
- throw (css::uno::RuntimeException, std::exception) override;
+ createAccessibleName() override;
public:
///===== XAccessibleEventBroadcaster =====================================
@@ -160,30 +139,26 @@ public:
*/
virtual void SAL_CALL
addAccessibleEventListener(
- const css::uno::Reference<css::accessibility::XAccessibleEventListener>& xListener)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::accessibility::XAccessibleEventListener>& xListener) override;
// Remove an existing event listener.
virtual void SAL_CALL
removeAccessibleEventListener(
- const css::uno::Reference<css::accessibility::XAccessibleEventListener>& xListener)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference<css::accessibility::XAccessibleEventListener>& xListener) override;
///===== XServiceInfo ====================================================
/** Returns an identifier for the implementation of this object.
*/
virtual OUString SAL_CALL
- getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ getImplementationName() override;
///===== XTypeProvider ===================================================
/** Returns a implementation id.
*/
virtual css::uno::Sequence<sal_Int8> SAL_CALL
- getImplementationId()
- throw (css::uno::RuntimeException, std::exception) override;
+ getImplementationId() override;
private:
std::unique_ptr<accessibility::AccessibleTextHelper> mpTextHelper;
@@ -200,11 +175,9 @@ private:
ScAddress m_curCellAddress;
///===== XAccessibleComponent ============================================
- virtual sal_Int32 SAL_CALL getForeground( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getForeground( ) override;
- virtual sal_Int32 SAL_CALL getBackground( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getBackground( ) override;
sal_Int32 GetFgBgColor( const rtl::OUString &strPropColor) ;
};