summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:50:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:54 +0100
commitf5b1b266bc0164b0c69a7c36bb1deed0e451efce (patch)
treed092ea34a2c6e23734d8ba94e272b9186cbb14a6 /basctl
parentfc0e506d649481e96b8930f3d9594eefc3323196 (diff)
coverity#1247646 Uncaught exception
Change-Id: I332fb602466613e9e79ba4510879411e0bee9da6
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/accessibility/accessibledialogcontrolshape.cxx14
-rw-r--r--basctl/source/inc/accessibledialogcontrolshape.hxx2
2 files changed, 2 insertions, 14 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;