summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-25 13:53:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-25 13:53:46 +0000
commit71a0bb02fe9a3b144ccfe31ed45dedb67931dd02 (patch)
tree03be4df5121e658d072f330ba3efa09e97454c4f
parentf452945b4090a9b7103b3a50c8fc0dee29329738 (diff)
coverity#1158360 Uncaught exception
Change-Id: I88c2e0b8378fb41b9ad24cab9e8434817602e084
-rw-r--r--sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx5
-rw-r--r--sc/source/ui/inc/AccessibleSpreadsheet.hxx2
2 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 85a0c7c8f442..d42034ef5e00 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -985,9 +985,8 @@ sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleSelected( sal_Int32 nRow,
//===== XAccessibleComponent ============================================
-uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleAtPoint(
- const awt::Point& rPoint )
- throw (uno::RuntimeException)
+uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleAtPoint(const awt::Point& rPoint)
+ throw (uno::RuntimeException, std::exception)
{
uno::Reference< XAccessible > xAccessible;
if (containsPoint(rPoint))
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 3bc8f9247f0e..5d22a8aafedc 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -153,7 +153,7 @@ private:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
SAL_CALL getAccessibleAtPoint(
const ::com::sun::star::awt::Point& rPoint )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL grabFocus( )
throw (::com::sun::star::uno::RuntimeException);