diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 13:33:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 13:50:42 +0000 |
commit | 7dd66ca901329c301a2802f31d3fb3397f9a8865 (patch) | |
tree | 1971af596c3a202d063d737595a46c82b13e7029 /sc | |
parent | 7b8b30754ce59f60f211960bd5f0a480d365e0d5 (diff) |
coverity#1158362 Uncaught exception
Change-Id: I60c2b84a9114074bac159379be2cb0ad0e46fceb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleTableBase.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleSpreadsheet.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleTableBase.hxx | 3 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index 674638cc223f..e0652d712459 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -1208,9 +1208,8 @@ uno::Reference<XAccessible > SAL_CALL return xAccessible; } -void SAL_CALL - ScAccessibleSpreadsheet::deselectAccessibleChild( sal_Int32 nChildIndex ) - throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +void SAL_CALL ScAccessibleSpreadsheet::deselectAccessibleChild( sal_Int32 nChildIndex ) + throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx index 8872c1ddd79a..33b27e6c43e7 100644 --- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx @@ -445,9 +445,8 @@ uno::Reference<XAccessible > SAL_CALL return xAccessible; } -void SAL_CALL - ScAccessibleTableBase::deselectAccessibleChild( sal_Int32 /* nSelectedChildIndex */ ) - throw (lang::IndexOutOfBoundsException, uno::RuntimeException) +void SAL_CALL ScAccessibleTableBase::deselectAccessibleChild( sal_Int32 /* nSelectedChildIndex */ ) + throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) { } diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx index 65f1318dfe9d..640c236892cd 100644 --- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx +++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx @@ -206,7 +206,8 @@ private: virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); ///===== XServiceInfo ==================================================== diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx index 672ab10fba5b..90bf47127275 100644 --- a/sc/source/ui/inc/AccessibleTableBase.hxx +++ b/sc/source/ui/inc/AccessibleTableBase.hxx @@ -283,7 +283,8 @@ public: virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); ///===== XServiceInfo =================================================== |