summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:34:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commit8ee0932466ba60e42a245bdbd673323c7e12b132 (patch)
tree8c94ccdef61210fc39bbae76588b41cf30f6c2ef /connectivity/source
parent521e5dd37911a4c4ed9f1a0346f707ffbc51bfa9 (diff)
coverity#1374285 Uncaught exception
Change-Id: I0a3790607fe7db6a8b8093a67e4dbf3548c800bb
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx4
-rw-r--r--connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx b/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
index d10f6c99bfa4..1d29d68a963e 100644
--- a/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx
@@ -735,7 +735,9 @@ sal_Bool ODatabaseMetaDataResultSet::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/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
index 81dbea6092c4..1ca0f69eba99 100644
--- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx
@@ -104,7 +104,7 @@ 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 )
throw (css::uno::Exception, std::exception) override;
virtual void SAL_CALL getFastPropertyValue( css::uno::Any& rValue, sal_Int32 nHandle ) const override;