diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 09:57:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:01 +0100 |
commit | 461af812918b35a7f0c37c486813ca553bb9d840 (patch) | |
tree | 1636ecd77660d6c8a5ef819a77d3e54a3057fd52 /svx/source | |
parent | c5d6aab13783aaa671b099f0813a1dd26ee9cdde (diff) |
coverity#1210079 Uncaught exception
Change-Id: I135e6f7e744afbf6acdb1cfd636e301219ef1420
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/charmapacc.cxx | 3 | ||||
-rw-r--r-- | svx/source/inc/charmapacc.hxx | 4 |
2 files changed, 5 insertions, 2 deletions
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 |