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: ...@@ -102,7 +102,7 @@ protected:
/// Create a description string that contains the accessible description. /// Create a description string that contains the accessible description.
virtual OUString virtual OUString
CreateAccessibleDescription () CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private: private:
AccessibleOLEShape (const AccessibleOLEShape&) SAL_DELETED_FUNCTION; AccessibleOLEShape (const AccessibleOLEShape&) SAL_DELETED_FUNCTION;
......
...@@ -78,7 +78,7 @@ protected: ...@@ -78,7 +78,7 @@ protected:
void init(); void init();
static void getAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException); 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: protected:
SdrModel* mpModel; SdrModel* mpModel;
......
...@@ -82,7 +82,7 @@ OUString ...@@ -82,7 +82,7 @@ OUString
OUString OUString
AccessiblePresentationOLEShape::CreateAccessibleDescription() AccessiblePresentationOLEShape::CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ {
// return createAccessibleName(); // return createAccessibleName();
DescriptionGenerator aDG (mxShape); DescriptionGenerator aDG (mxShape);
......
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
/// Create a description string that contains the accessible description. /// Create a description string that contains the accessible description.
virtual OUString virtual OUString
CreateAccessibleDescription () CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return this object's role. /// Return this object's role.
virtual sal_Int16 SAL_CALL getAccessibleRole () throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int16 SAL_CALL getAccessibleRole () throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
}; };
......
...@@ -204,11 +204,9 @@ OUString ...@@ -204,11 +204,9 @@ OUString
return sName; return sName;
} }
OUString OUString
AccessibleOLEShape::CreateAccessibleDescription() AccessibleOLEShape::CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ {
return CreateAccessibleName (); 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