diff options
Diffstat (limited to 'accessibility/inc/extended/AccessibleGridControlBase.hxx')
-rw-r--r-- | accessibility/inc/extended/AccessibleGridControlBase.hxx | 74 |
1 files changed, 25 insertions, 49 deletions
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; |