diff options
Diffstat (limited to 'accessibility/inc/extended/AccessibleBrowseBoxBase.hxx')
-rw-r--r-- | accessibility/inc/extended/AccessibleBrowseBoxBase.hxx | 80 |
1 files changed, 28 insertions, 52 deletions
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; }; |