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

coverity#1308544 Uncaught exception

Change-Id: Iebc59db0f9c6738da316c18f18eaefdbfed35936
üst 265ad060
......@@ -102,7 +102,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:
AccessibleOLEShape (const AccessibleOLEShape&) SAL_DELETED_FUNCTION;
......
......@@ -78,7 +78,7 @@ protected:
void init();
static void getAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException);
virtual void putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException);
virtual void putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
protected:
SdrModel* mpModel;
......
......@@ -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);
......
......@@ -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;
};
......
......@@ -204,11 +204,9 @@ OUString
return sName;
}
OUString
AccessibleOLEShape::CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException)
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return CreateAccessibleName ();
}
......
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