summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:24:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:56:01 +0100
commitb3fdb90d94a96e6c3c309b8ff39a79be51461277 (patch)
tree5d88eb2f8bd5e3c4dc1ce999ae01eab5742f2f80
parent5f0763edc473d0d062910a4722efa0caf9242c0f (diff)
coverity#1308545 Uncaught exception
Change-Id: Ic2f04532680f0742ea11ab793fe2366d55cc7376
-rw-r--r--include/svx/AccessibleShape.hxx2
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationShape.cxx2
-rw-r--r--sd/source/ui/inc/AccessiblePresentationShape.hxx2
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index 91d8a40f32ec..d75e13f5b2d7 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -435,7 +435,7 @@ protected:
*/
virtual OUString
CreateAccessibleBaseName()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
/** Create a unique name string that contains the accessible name. The
name consists of the base name and the index.
diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
index 90c8dfc49122..2d91b018f623 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
@@ -55,7 +55,7 @@ OUString SAL_CALL
/// Set this object's name if is different to the current name.
OUString AccessiblePresentationShape::CreateAccessibleBaseName()
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
OUString sName;
diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx
index 9088fc5229fd..ddf5b39ffa45 100644
--- a/sd/source/ui/inc/AccessiblePresentationShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx
@@ -49,7 +49,7 @@ public:
/// Create a name string that contains the accessible name.
virtual OUString
CreateAccessibleBaseName ()
- throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Create a description string that contains the accessible description.
virtual OUString
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index eeb270e434ad..9411b82bf17b 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -1147,7 +1147,7 @@ void AccessibleShape::ViewForwarderChanged (ChangeType aChangeType,
// protected internal
// Set this object's name if is different to the current name.
OUString AccessibleShape::CreateAccessibleBaseName()
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return ShapeTypeHandler::CreateAccessibleBaseName( mxShape );
}