summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 11:21:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 13:23:54 +0000
commitc4f057c1d09343933f2f3fa8fe85d1a738824870 (patch)
tree24348b8ea905f2577d0276b3ab5235355581473e /sw
parent9cb625b63565c10a856b6db66a6ac02115eff93f (diff)
coverity#1158276 Uncaught exception
Change-Id: Ifff7d9c83d8e757817b2886e12c2aebf453157b1
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/access/acctable.cxx5
-rw-r--r--sw/source/core/access/acctable.hxx4
2 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index 1341486de7cf..00d7282a328a 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1848,8 +1848,11 @@ sal_Bool SAL_CALL SwAccessibleTable::unselectRow( sal_Int32 row )
}
return sal_True;
}
+
sal_Bool SAL_CALL SwAccessibleTable::unselectColumn( sal_Int32 column )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+ throw (lang::IndexOutOfBoundsException,
+ uno::RuntimeException,
+ std::exception)
{
SolarMutexGuard g;
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index 0d1617d9f1da..ea4dc8f9119b 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -195,7 +195,9 @@ public:
::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL unselectColumn( sal_Int32 column )
- throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
+ throw (::com::sun::star::lang::IndexOutOfBoundsException,
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
//===== XServiceInfo ====================================================
/** Returns an identifier for the implementation of this object.