summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 09:08:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 09:56:30 +0100
commit6920de0e1f525eadb61114f0e5bb1bb282d17572 (patch)
tree318da55373d9d311658787d78fd924795508d644 /dbaccess
parent80cd32f78deca3fea2f731af02a2ad83134261f3 (diff)
coverity#1374268 Uncaught exception
Change-Id: Ife6e9897c12a9754afd5f4754c7de41eef7f00eb
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/statement.cxx2
-rw-r--r--dbaccess/source/core/inc/statement.hxx4
2 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/statement.cxx b/dbaccess/source/core/api/statement.cxx
index 44c96f289a4d..beb04efa4449 100644
--- a/dbaccess/source/core/api/statement.cxx
+++ b/dbaccess/source/core/api/statement.cxx
@@ -198,7 +198,7 @@ Reference< XPropertySetInfo > OStatementBase::getPropertySetInfo() throw (Runtim
return *getArrayHelper();
}
-sal_Bool OStatementBase::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) throw( IllegalArgumentException )
+sal_Bool OStatementBase::convertFastPropertyValue(Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) throw( IllegalArgumentException, RuntimeException, std::exception)
{
bool bModified(false);
switch (nHandle)
diff --git a/dbaccess/source/core/inc/statement.hxx b/dbaccess/source/core/inc/statement.hxx
index a2cb99a393db..7d7b7f09ed68 100644
--- a/dbaccess/source/core/inc/statement.hxx
+++ b/dbaccess/source/core/inc/statement.hxx
@@ -91,7 +91,9 @@ public:
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