summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 11:20:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 13:23:53 +0000
commit9cb625b63565c10a856b6db66a6ac02115eff93f (patch)
treec79b8a5e95f2af72e48080234bbe01f6276dcc5c /sw
parent218c9cff53c36d3f6e744067d5812b883a60b459 (diff)
coverity#1158277 Uncaught exception
Change-Id: Ifa1cd70f830a3afa6b3a503b831bcfe99c5cf2fd
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 0b82539dfaee..1341486de7cf 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1827,8 +1827,11 @@ sal_Bool SAL_CALL SwAccessibleTable::selectColumn( sal_Int32 column )
}
return sal_True;
}
+
sal_Bool SAL_CALL SwAccessibleTable::unselectRow( sal_Int32 row )
- 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 6ee40f7e9a8a..0d1617d9f1da 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -191,7 +191,9 @@ public:
virtual sal_Bool SAL_CALL selectColumn( sal_Int32 column )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
virtual sal_Bool SAL_CALL unselectRow( sal_Int32 row )
- throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
+ throw (::com::sun::star::lang::IndexOutOfBoundsException,
+ ::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) ;
//===== XServiceInfo ====================================================