summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-25 12:58:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-25 12:59:18 +0000
commit5ec2e8111a8143b5c943285070a0157d09ea12a5 (patch)
treee8081010f7c2d906d0b4050666e1faf9f925116e /sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
parente166b36a056181b80860affece4f9ac2c8ef6c9f (diff)
coverity#1158372 Uncaught exception
Change-Id: I1eacc1e0db5d4674bed639a9fb5eda07601ed585
Diffstat (limited to 'sc/source/ui/Accessibility/AccessiblePreviewTable.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewTable.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
index 4264192d4299..f8668a18ea6f 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
@@ -391,7 +391,7 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleIndex( sal_Int32 nRow,
}
sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleRow( sal_Int32 nChildIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+ throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -410,7 +410,7 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleRow( sal_Int32 nChildI
}
sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleColumn( sal_Int32 nChildIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+ throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
@@ -493,7 +493,8 @@ void SAL_CALL ScAccessiblePreviewTable::grabFocus() throw (uno::RuntimeException
//===== XAccessibleContext ==============================================
-sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleChildCount() throw (uno::RuntimeException)
+sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleChildCount()
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();