diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 12:51:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 12:51:23 +0000 |
commit | 19b98a7c56f7987f9d59fde5a6620f0a30e9ab52 (patch) | |
tree | 96abbd69a1e8478b00a277e9f7c4cf88c432b838 | |
parent | 51c5941f71e87d283a8e6d553f88f18c97ae9a1d (diff) |
coverity#1158374 Uncaught exception
Change-Id: Ib01554a753fe521b0730d4254411e3f925b83e7a
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewTable.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleTableBase.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePreviewTable.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleTableBase.hxx | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index 03b60f3602d7..325701176400 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -146,7 +146,8 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleRowCount() throw (uno: return nRet; } -sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleColumnCount() throw (uno::RuntimeException) +sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleColumnCount() + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx index 579d650d9140..04e268ae7c40 100644 --- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx @@ -99,7 +99,7 @@ sal_Int32 SAL_CALL ScAccessibleTableBase::getAccessibleRowCount( ) } sal_Int32 SAL_CALL ScAccessibleTableBase::getAccessibleColumnCount( ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index 48180674fe06..82195f5900db 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -66,7 +66,9 @@ public: //===== XAccessibleTable ================================================ virtual sal_Int32 SAL_CALL getAccessibleRowCount() throw (::com::sun::star::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getAccessibleColumnCount() throw (::com::sun::star::uno::RuntimeException); + virtual sal_Int32 SAL_CALL getAccessibleColumnCount() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual OUString SAL_CALL getAccessibleRowDescription( sal_Int32 nRow ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx index 2d6941482252..6855f9a07622 100644 --- a/sc/source/ui/inc/AccessibleTableBase.hxx +++ b/sc/source/ui/inc/AccessibleTableBase.hxx @@ -77,7 +77,8 @@ public: /// Returns the number of columns in the table. virtual sal_Int32 SAL_CALL getAccessibleColumnCount( ) - throw (::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); /// Returns the description of the specified row in the table. virtual OUString SAL_CALL |