summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-25 13:00:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-25 13:00:56 +0000
commitfbb1bdb3a5fe5b0cf3784380cfdf172872f129a7 (patch)
tree6e1aaa1d8c99b03e15fde8e620f170bfc3a0a222
parent5ec2e8111a8143b5c943285070a0157d09ea12a5 (diff)
coverity#1158371 Uncaught exception
Change-Id: Id66ca9610c7f2204eb9a2bdc9a2a6c5e6a9c80df
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewTable.cxx3
-rw-r--r--sc/source/ui/Accessibility/AccessibleTableBase.cxx2
-rw-r--r--sc/source/ui/inc/AccessiblePreviewTable.hxx4
-rw-r--r--sc/source/ui/inc/AccessibleTableBase.hxx3
4 files changed, 8 insertions, 4 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
index f8668a18ea6f..3b44202853ab 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
@@ -133,7 +133,8 @@ void SAL_CALL ScAccessiblePreviewTable::release()
//===== XAccessibleTable ================================================
-sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleRowCount() throw (uno::RuntimeException)
+sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleRowCount()
+ 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 4ce69dac5148..cdbf0bb9f098 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -91,7 +91,7 @@ void SAL_CALL ScAccessibleTableBase::release()
//===== XAccessibleTable ================================================
sal_Int32 SAL_CALL ScAccessibleTableBase::getAccessibleRowCount( )
- 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 13e8a8f75cba..c3e0506dab89 100644
--- a/sc/source/ui/inc/AccessiblePreviewTable.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx
@@ -65,7 +65,9 @@ public:
//===== XAccessibleTable ================================================
- virtual sal_Int32 SAL_CALL getAccessibleRowCount() throw (::com::sun::star::uno::RuntimeException);
+ virtual sal_Int32 SAL_CALL getAccessibleRowCount()
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual sal_Int32 SAL_CALL getAccessibleColumnCount()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index 7a912292dbf4..c195c99cb47b 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -72,7 +72,8 @@ public:
/// Returns the number of rows in the table.
virtual sal_Int32 SAL_CALL
getAccessibleRowCount( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
/// Returns the number of columns in the table.
virtual sal_Int32 SAL_CALL