summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 21:07:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 21:07:35 +0100
commit3b35c0017860cefa4b658f9ec14134c3fbe3d02f (patch)
treebd9ac7e440dfde6b0a77dab1b75285cd1aabeb8c
parent44eeb36e2e0b964a9fb8512aece103e8db958d46 (diff)
coverity#1308564 Uncaught exception
Change-Id: Iffb972ca2b89f8b943ec54db4d22db6b7052ab5f
-rw-r--r--include/svx/AccessibleShape.hxx2
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index d75e13f5b2d7..cb36b26e9676 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -450,7 +450,7 @@ protected:
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
OUString
GetFullAccessibleName(AccessibleShape *shape)
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString GetStyle();
void UpdateDocumentAllSelState(::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleStateSet > &xStateSet);
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 9411b82bf17b..9c1c933c55cf 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -1160,7 +1160,7 @@ OUString AccessibleShape::CreateAccessibleName()
}
OUString AccessibleShape::GetFullAccessibleName (AccessibleShape *shape)
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
OUString sName (shape->CreateAccessibleBaseName());
// Append the shape's index to the name to disambiguate between shapes