diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 13:00:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 20:19:11 +0100 |
commit | d92829044bdae286fdf26c46bbc28e88574768de (patch) | |
tree | 1c05e0be0394eaf819a2dd2f6543584269b99ce3 /sd | |
parent | dde3c84d4492f0bea8e5509bedc1313d6e1fd70b (diff) |
coverity#707088 Uncaught exception
Change-Id: Icfc2765f6482082959b4a0b666ec823de686bffe
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/accessibility/AccessiblePageShape.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/AccessiblePageShape.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx index 49d4930cd331..27555f1452a2 100644 --- a/sd/source/ui/accessibility/AccessiblePageShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx @@ -87,7 +87,7 @@ sal_Int32 SAL_CALL */ uno::Reference<XAccessible> SAL_CALL AccessiblePageShape::getAccessibleChild( sal_Int32 ) - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) { throw lang::IndexOutOfBoundsException ("page shape has no children", static_cast<uno::XWeak*>(this)); diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx index 96e41f3d5701..2c34c32077b6 100644 --- a/sd/source/ui/inc/AccessiblePageShape.hxx +++ b/sd/source/ui/inc/AccessiblePageShape.hxx @@ -94,7 +94,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL getAccessibleChild (sal_Int32 nIndex) - throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleComponent ============================================ |