diff options
-rw-r--r-- | basctl/source/accessibility/accessibledialogcontrolshape.cxx | 14 | ||||
-rw-r--r-- | basctl/source/inc/accessibledialogcontrolshape.hxx | 2 | ||||
-rw-r--r-- | include/comphelper/accessiblecomponenthelper.hxx | 2 |
3 files changed, 3 insertions, 15 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx index 75dd5f8f0129..34545917f35a 100644 --- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx +++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx @@ -238,31 +238,19 @@ void AccessibleDialogControlShape::FillAccessibleStateSet( utl::AccessibleStateS rStateSet.AddState( AccessibleStateType::RESIZABLE ); } - // OCommonAccessibleComponent - - -awt::Rectangle AccessibleDialogControlShape::implGetBounds() throw (RuntimeException) +awt::Rectangle AccessibleDialogControlShape::implGetBounds() throw (RuntimeException, std::exception) { return GetBounds(); } - // XInterface - - IMPLEMENT_FORWARD_XINTERFACE2( AccessibleDialogControlShape, AccessibleExtendedComponentHelper_BASE, AccessibleDialogControlShape_BASE ) - // XTypeProvider - - IMPLEMENT_FORWARD_XTYPEPROVIDER2( AccessibleDialogControlShape, AccessibleExtendedComponentHelper_BASE, AccessibleDialogControlShape_BASE ) - // XComponent - - void AccessibleDialogControlShape::disposing() { AccessibleExtendedComponentHelper_BASE::disposing(); diff --git a/basctl/source/inc/accessibledialogcontrolshape.hxx b/basctl/source/inc/accessibledialogcontrolshape.hxx index bd0fa268c427..c0e667406d94 100644 --- a/basctl/source/inc/accessibledialogcontrolshape.hxx +++ b/basctl/source/inc/accessibledialogcontrolshape.hxx @@ -81,7 +81,7 @@ protected: virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); // OCommonAccessibleComponent - virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual ::com::sun::star::awt::Rectangle implGetBounds() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XComponent virtual void SAL_CALL disposing() SAL_OVERRIDE; diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx index 520ce81f71b8..b5c7827aedc1 100644 --- a/include/comphelper/accessiblecomponenthelper.hxx +++ b/include/comphelper/accessiblecomponenthelper.hxx @@ -47,7 +47,7 @@ namespace comphelper protected: /// implements the calculation of the bounding rectangle - still waiting to be overwritten - virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) = 0; + virtual css::awt::Rectangle implGetBounds( ) throw (css::uno::RuntimeException, std::exception) = 0; protected: /** non-virtual versions of the methods which can be implemented using <method>implGetBounds</method> |