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: ...@@ -96,7 +96,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:
AccessibleGraphicShape (const AccessibleGraphicShape&) SAL_DELETED_FUNCTION; AccessibleGraphicShape (const AccessibleGraphicShape&) SAL_DELETED_FUNCTION;
......
...@@ -76,7 +76,7 @@ OUString ...@@ -76,7 +76,7 @@ OUString
OUString OUString
AccessiblePresentationGraphicShape::CreateAccessibleDescription() AccessiblePresentationGraphicShape::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;
}; };
......
...@@ -175,7 +175,7 @@ OUString ...@@ -175,7 +175,7 @@ OUString
} }
OUString AccessibleGraphicShape::CreateAccessibleDescription() 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. //Don't use the same information for accessible name and accessible description.
OUString sDesc; 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