diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 13:03:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 13:03:57 +0000 |
commit | eec526b5db5bb3fb961acd7b75b43f522547a8ef (patch) | |
tree | da487c17cc63baf37291e70691ae4809636c88ea | |
parent | 1a4bf7918b20f7c1e64404ee871cd16703c5c2bf (diff) |
coverity#1158369 Uncaught exception
Change-Id: I6c582a947f014b6a5f80ad70b02b7cd7a2a7e018
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewTable.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePreviewTable.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index 7d095dcccfbd..d13a97ff12a1 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -432,7 +432,7 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleColumn( sal_Int32 nChi //===== XAccessibleComponent ============================================ uno::Reference< XAccessible > SAL_CALL ScAccessiblePreviewTable::getAccessibleAtPoint( const awt::Point& aPoint ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { uno::Reference<XAccessible> xRet; if (containsPoint(aPoint)) diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index 1272c6aa0e36..b7b82adc9c08 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -131,7 +131,8 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const ::com::sun::star::awt::Point& aPoint ) - 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); //===== XAccessibleContext ============================================== |