diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 13:05:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 14:01:58 +0000 |
commit | 3b65ac148cc0a125f41c9662439b99dc8b5b41cc (patch) | |
tree | 1f6786d4c0ee13f7c9b5bd891a6b4c7fd76af8c6 /sc/source | |
parent | 8be64b9ffc76b5ee3bfff0716e2d7ae3e87e24af (diff) |
coverity#1158384 Uncaught exception
Change-Id: I8e0b8f7c10f2289732246a3ce75d7ccd7650d0ea
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCell.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleContextBase.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleCell.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleContextBase.hxx | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index cb319a49b18f..149d41a8c9e3 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -282,8 +282,8 @@ uno::Reference<XAccessibleStateSet> SAL_CALL } uno::Reference<XAccessibleRelationSet> SAL_CALL - ScAccessibleCell::getAccessibleRelationSet(void) - throw (uno::RuntimeException) + ScAccessibleCell::getAccessibleRelationSet() + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx index 4fe92887852e..c11b054894ee 100644 --- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx @@ -368,8 +368,8 @@ OUString SAL_CALL } uno::Reference<XAccessibleRelationSet> SAL_CALL - ScAccessibleContextBase::getAccessibleRelationSet(void) - throw (uno::RuntimeException) + ScAccessibleContextBase::getAccessibleRelationSet() + throw (uno::RuntimeException, std::exception) { return new utl::AccessibleRelationSetHelper(); } diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index 90cde3eb4f34..db041085cb22 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -128,8 +128,8 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL - getAccessibleRelationSet(void) - throw (::com::sun::star::uno::RuntimeException); + getAccessibleRelationSet() + throw (::com::sun::star::uno::RuntimeException, std::exception); ///===== XServiceInfo ==================================================== diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index acbab2ce194d..ad598f1b84e6 100644 --- a/sc/source/ui/inc/AccessibleContextBase.hxx +++ b/sc/source/ui/inc/AccessibleContextBase.hxx @@ -178,8 +178,8 @@ public: /// Return NULL to indicate that an empty relation set. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL - getAccessibleRelationSet(void) - throw (::com::sun::star::uno::RuntimeException); + getAccessibleRelationSet() + throw (::com::sun::star::uno::RuntimeException, std::exception); /// Return the set of current states. virtual ::com::sun::star::uno::Reference< |