summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:22:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:56:01 +0100
commit5f0763edc473d0d062910a4722efa0caf9242c0f (patch)
treea1357b86bd258ca95591199401c221588346932c /sd
parent265ad0605c905f584a40b48e457bede3c9df8c3b (diff)
coverity#1308544 Uncaught exception
Change-Id: Iebc59db0f9c6738da316c18f18eaefdbfed35936
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx2
-rw-r--r--sd/source/ui/inc/AccessiblePresentationOLEShape.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
index f6307e68c28a..958e312b7cc6 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
@@ -82,7 +82,7 @@ OUString
OUString
AccessiblePresentationOLEShape::CreateAccessibleDescription()
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
// return createAccessibleName();
DescriptionGenerator aDG (mxShape);
diff --git a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
index 4704774cb5ae..19ec75d15439 100644
--- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
@@ -55,7 +55,7 @@ public:
/// Create a description string that contains the accessible description.
virtual OUString
CreateAccessibleDescription ()
- throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return this object's role.
virtual sal_Int16 SAL_CALL getAccessibleRole () throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};