summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-30 21:05:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-30 21:05:57 +0000
commit6ce0ca734f31489019605d3550cbe29a70d8e6f4 (patch)
tree845d0a22017406abd1ef2dc12def05fd0ef362f9 /svx
parent78f8fb8acf9bff6264ede0403dd7a25ec96864cb (diff)
coverity#1267684 Uncaught exception
Change-Id: Ie444d89108087c39ad429743e76c383f640c8751
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/accessibletableshape.cxx5
1 files changed, 3 insertions, 2 deletions
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 );