diff options
Diffstat (limited to 'include/svtools/accessibleruler.hxx')
-rw-r--r-- | include/svtools/accessibleruler.hxx | 63 |
1 files changed, 30 insertions, 33 deletions
diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx index 174d02b13dbd..f4a52304078c 100644 --- a/include/svtools/accessibleruler.hxx +++ b/include/svtools/accessibleruler.hxx @@ -70,110 +70,107 @@ protected: public: /// @throws css::uno::RuntimeException bool SAL_CALL - isVisible() throw( css::uno::RuntimeException ); + isVisible(); //===== XAccessible ===================================================== virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL - getAccessibleContext() throw( css::uno::RuntimeException, std::exception ) override; + getAccessibleContext() override; //===== XAccessibleComponent ============================================ virtual sal_Bool SAL_CALL - containsPoint( const css::awt::Point& rPoint ) throw( css::uno::RuntimeException, std::exception ) override; + containsPoint( const css::awt::Point& rPoint ) override; 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; virtual css::awt::Rectangle SAL_CALL - getBounds() throw( css::uno::RuntimeException, std::exception ) override; + getBounds() override; virtual css::awt::Point SAL_CALL - getLocation() throw( css::uno::RuntimeException, std::exception ) override; + getLocation() override; virtual css::awt::Point SAL_CALL - getLocationOnScreen() throw( css::uno::RuntimeException, std::exception ) override; + getLocationOnScreen() override; virtual css::awt::Size SAL_CALL - getSize() throw( css::uno::RuntimeException, std::exception ) override; + getSize() override; virtual void SAL_CALL - grabFocus() throw( css::uno::RuntimeException, std::exception ) override; + grabFocus() override; virtual sal_Int32 SAL_CALL - getForeground( ) throw (css::uno::RuntimeException, std::exception) override; + getForeground( ) override; virtual sal_Int32 SAL_CALL - getBackground( ) throw (css::uno::RuntimeException, std::exception) override; + getBackground( ) override; //===== XAccessibleContext ============================================== virtual sal_Int32 SAL_CALL - getAccessibleChildCount() throw( css::uno::RuntimeException, std::exception ) override; + getAccessibleChildCount() override; 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; 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; + getAccessibleIndexInParent() override; virtual sal_Int16 SAL_CALL - getAccessibleRole() throw( css::uno::RuntimeException, std::exception ) override; + getAccessibleRole() override; virtual ::rtl::OUString SAL_CALL - getAccessibleDescription() throw (css::uno::RuntimeException, std::exception) override; + getAccessibleDescription() override; virtual ::rtl::OUString SAL_CALL - getAccessibleName() throw (css::uno::RuntimeException, std::exception) override; + getAccessibleName() override; virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL - getAccessibleRelationSet() throw( css::uno::RuntimeException, std::exception ) override; + 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::uno::RuntimeException, - css::accessibility::IllegalAccessibleComponentStateException, std::exception ) override; + getLocale() override; //===== XAccessibleEventBroadcaster ===================================== virtual void SAL_CALL - addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )throw( css::uno::RuntimeException, std::exception ) override; + addAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override; virtual void SAL_CALL - removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) throw( css::uno::RuntimeException, std::exception ) override; + removeAccessibleEventListener( const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener ) override; //===== XServiceInfo ==================================================== virtual ::rtl::OUString SAL_CALL - getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; + getImplementationName() override; virtual sal_Bool SAL_CALL - supportsService( const ::rtl::OUString& sServiceName ) throw( css::uno::RuntimeException, std::exception ) override; + supportsService( const ::rtl::OUString& sServiceName ) override; virtual css::uno::Sequence< ::rtl::OUString> SAL_CALL - getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override; + getSupportedServiceNames() override; //===== XTypeProvider =================================================== virtual css::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId() throw( css::uno::RuntimeException, std::exception ) override; + getImplementationId() override; protected: /// @Return the object's current bounding box relative to the desktop. /// /// @throws css::uno::RuntimeException - Rectangle GetBoundingBoxOnScreen() throw( css::uno::RuntimeException ); + Rectangle GetBoundingBoxOnScreen(); /// @Return the object's current bounding box relative to the parent object. /// /// @throws css::uno::RuntimeException - Rectangle GetBoundingBox() throw( css::uno::RuntimeException ); + Rectangle GetBoundingBox(); virtual void SAL_CALL disposing() override; @@ -182,7 +179,7 @@ protected: inline bool IsAlive() const; /// @throws DisposedException if it's not alive - void ThrowExceptionIfNotAlive() throw( css::lang::DisposedException ); + void ThrowExceptionIfNotAlive(); private: /** Description of this object. This is not a constant because it can |