diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:28:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | e3190bdef2a3c85559aa761103c198930c7e1164 (patch) | |
tree | 088254ec1371977308b7249bedfca362c9be2b78 | |
parent | 07395b440f5f2f12aa122b7fd047865a5ed55611 (diff) |
coverity#1372380 Uncaught exception
Change-Id: I7e3fa90b9186b518188b322f9236bd588d00d846
-rw-r--r-- | include/svx/IAccessibleParent.hxx | 2 | ||||
-rw-r--r-- | sw/inc/accmap.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/accmap.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/IAccessibleParent.hxx b/include/svx/IAccessibleParent.hxx index 26678ef4e890..897820b2e37d 100644 --- a/include/svx/IAccessibleParent.hxx +++ b/include/svx/IAccessibleParent.hxx @@ -79,7 +79,7 @@ public: const css::uno::Reference< css::drawing::XShape >& _rxShape, const long _nIndex, const AccessibleShapeTreeInfo& _rShapeTreeInfo - ) throw (css::uno::RuntimeException) = 0; + ) throw (css::uno::RuntimeException, std::exception) = 0; //Add this method to support Form Controls virtual AccessibleControlShape* GetAccControlShapeFromModel (css::beans::XPropertySet*) diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index ecb0520164ef..38eba83c4213 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -261,7 +261,7 @@ public: const css::uno::Reference< css::drawing::XShape >& _rxShape, const long _nIndex, const ::accessibility::AccessibleShapeTreeInfo& _rShapeTreeInfo - ) throw (css::uno::RuntimeException) override; + ) throw (css::uno::RuntimeException, std::exception) override; virtual ::accessibility::AccessibleControlShape* GetAccControlShapeFromModel (css::beans::XPropertySet* pSet) throw (css::uno::RuntimeException) override; diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 00bac53a6ba7..385c07701cc0 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -3159,7 +3159,7 @@ bool SwAccessibleMap::ReplaceChild ( const uno::Reference< drawing::XShape >& _rxShape, const long /*_nIndex*/, const ::accessibility::AccessibleShapeTreeInfo& /*_rShapeTreeInfo*/ - ) throw (uno::RuntimeException) + ) throw (uno::RuntimeException, std::exception) { const SdrObject *pObj = nullptr; { |