From 461af812918b35a7f0c37c486813ca553bb9d840 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 23 May 2014 09:57:21 +0100 Subject: coverity#1210079 Uncaught exception Change-Id: I135e6f7e744afbf6acdb1cfd636e301219ef1420 --- include/comphelper/accessibleselectionhelper.hxx | 2 +- svx/source/accessibility/charmapacc.cxx | 3 ++- svx/source/inc/charmapacc.hxx | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx index 161797f603d2..dbc4c20270ea 100644 --- a/include/comphelper/accessibleselectionhelper.hxx +++ b/include/comphelper/accessibleselectionhelper.hxx @@ -63,7 +63,7 @@ namespace comphelper // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx) virtual void implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect ) - throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) = 0; + throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0; protected: diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx index 80198498273b..5dddac9487d2 100644 --- a/svx/source/accessibility/charmapacc.cxx +++ b/svx/source/accessibility/charmapacc.cxx @@ -324,7 +324,8 @@ bool SvxShowCharSetAcc::implIsSelected( sal_Int32 nAccessibleChildIndex ) throw } // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx) -void SvxShowCharSetAcc::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect ) throw (IndexOutOfBoundsException, RuntimeException) +void SvxShowCharSetAcc::implSelect(sal_Int32 nAccessibleChildIndex, sal_Bool bSelect) + throw (IndexOutOfBoundsException, RuntimeException, std::exception) { if ( m_pParent ) { diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx index 2ef144f15239..85951f114a3d 100644 --- a/svx/source/inc/charmapacc.hxx +++ b/svx/source/inc/charmapacc.hxx @@ -196,7 +196,9 @@ namespace svx // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx) virtual void implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect ) - throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + throw (css::lang::IndexOutOfBoundsException, + css::uno::RuntimeException, + std::exception) SAL_OVERRIDE; // OCommonAccessibleComponent /// implements the calculation of the bounding rectangle - still waiting to be overwritten -- cgit