Kaydet (Commit) 5e1206f0 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308571 Uncaught exception

Change-Id: Ib844cbd5c5d7be28e4ee2922caf06fb43c7b8a46
üst 3e9a13f1
......@@ -96,7 +96,7 @@ protected:
/// 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;
private:
AccessibleGraphicShape (const AccessibleGraphicShape&) SAL_DELETED_FUNCTION;
......
......@@ -76,7 +76,7 @@ OUString
OUString
AccessiblePresentationGraphicShape::CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException)
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
// return createAccessibleName ();
DescriptionGenerator aDG (mxShape);
......
......@@ -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;
};
......
......@@ -175,7 +175,7 @@ OUString
}
OUString AccessibleGraphicShape::CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException)
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
//Don't use the same information for accessible name and accessible description.
OUString sDesc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment