Kaydet (Commit) d9282904 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707088 Uncaught exception

Change-Id: Icfc2765f6482082959b4a0b666ec823de686bffe
üst dde3c84d
......@@ -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));
......
......@@ -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 ============================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment