From 6ce0ca734f31489019605d3550cbe29a70d8e6f4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 30 Jan 2015 21:05:57 +0000 Subject: coverity#1267684 Uncaught exception Change-Id: Ie444d89108087c39ad429743e76c383f640c8751 --- svx/source/table/accessibletableshape.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index 35c0ecbeaca5..1cb7685b2004 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -69,7 +69,7 @@ public: void init( const Reference< XAccessible>& xAccessible, const Reference< XTable >& xTable ); void dispose(); - Reference< XAccessible > getAccessibleChild( sal_Int32 i ) throw(IndexOutOfBoundsException); + Reference< XAccessible > getAccessibleChild(sal_Int32 i) throw (IndexOutOfBoundsException, RuntimeException); void getColumnAndRow( sal_Int32 nChildIndex, sal_Int32& rnColumn, sal_Int32& rnRow ) throw (IndexOutOfBoundsException ); // XModifyListener @@ -151,7 +151,8 @@ Reference< AccessibleCell > AccessibleTableShapeImpl::getAccessibleCell (Referen } -Reference< XAccessible > AccessibleTableShapeImpl::getAccessibleChild( sal_Int32 nChildIndex ) throw(IndexOutOfBoundsException) +Reference< XAccessible > AccessibleTableShapeImpl::getAccessibleChild(sal_Int32 nChildIndex) + throw (IndexOutOfBoundsException, RuntimeException) { sal_Int32 nColumn = 0, nRow = 0; getColumnAndRow( nChildIndex, nColumn, nRow ); -- cgit