summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-23 09:57:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 14:16:01 +0100
commit461af812918b35a7f0c37c486813ca553bb9d840 (patch)
tree1636ecd77660d6c8a5ef819a77d3e54a3057fd52
parentc5d6aab13783aaa671b099f0813a1dd26ee9cdde (diff)
coverity#1210079 Uncaught exception
Change-Id: I135e6f7e744afbf6acdb1cfd636e301219ef1420
-rw-r--r--include/comphelper/accessibleselectionhelper.hxx2
-rw-r--r--svx/source/accessibility/charmapacc.cxx3
-rw-r--r--svx/source/inc/charmapacc.hxx4
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