coverity#1308571 Uncaught exception

Change-Id: Ib844cbd5c5d7be28e4ee2922caf06fb43c7b8a46
This commit is contained in:
Caolán McNamara 2015-06-29 09:11:32 +01:00
parent 3e9a13f16c
commit 5e1206f092
4 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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;
};

View file

@ -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;