summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:31:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commitb9d0b57b1760a5c394f376941a8b843ce99ae40e (patch)
tree85bcfec483f8f1a36d447eb9792c642dc7436da6 /connectivity/source
parent5d5564fa7ac77303e6e6145e488bc28bc675a860 (diff)
coverity#1374283 Uncaught exception
Change-Id: I658a12da4d30f360f207ca06dcf3650ba18cc7a2
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/odbc/OResultSet.cxx2
-rw-r--r--connectivity/source/inc/odbc/OResultSet.hxx4
2 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx
index 35077933b84e..9318d47979b3 100644
--- a/connectivity/source/drivers/odbc/OResultSet.cxx
+++ b/connectivity/source/drivers/odbc/OResultSet.cxx
@@ -1434,7 +1434,7 @@ sal_Bool OResultSet::convertFastPropertyValue(
Any & rOldValue,
sal_Int32 nHandle,
const Any& rValue )
- throw (css::lang::IllegalArgumentException)
+ throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
switch(nHandle)
{
diff --git a/connectivity/source/inc/odbc/OResultSet.hxx b/connectivity/source/inc/odbc/OResultSet.hxx
index d6ac6f43835c..1f4965a56b45 100644
--- a/connectivity/source/inc/odbc/OResultSet.hxx
+++ b/connectivity/source/inc/odbc/OResultSet.hxx
@@ -200,7 +200,9 @@ namespace connectivity
css::uno::Any & rOldValue,
sal_Int32 nHandle,
const css::uno::Any& rValue )
- throw (css::lang::IllegalArgumentException) override;
+ throw (css::lang::IllegalArgumentException,
+ css::uno::RuntimeException,
+ std::exception) override;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle,
const css::uno::Any& rValue