summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/commontools/dbtools.cxx2
-rw-r--r--include/connectivity/dbtools.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 7a7d041101a9..7352946ee92e 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1790,7 +1790,7 @@ void setObjectWithInfo(const Reference<XParameters>& _xParams,
sal_Int32 parameterIndex,
const ::connectivity::ORowSetValue& _rValue,
sal_Int32 sqlType,
- sal_Int32 scale) throw(SQLException, RuntimeException)
+ sal_Int32 scale) throw(SQLException, RuntimeException, std::exception)
{
if ( _rValue.isNull() )
_xParams->setNull(parameterIndex,sqlType);
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx
index 32db2ece12a8..5c791b6816e1 100644
--- a/include/connectivity/dbtools.hxx
+++ b/include/connectivity/dbtools.hxx
@@ -590,7 +590,7 @@ namespace dbtools
sal_Int32 parameterIndex,
const ::connectivity::ORowSetValue& x,
sal_Int32 sqlType,
- sal_Int32 scale) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ sal_Int32 scale) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception);
/** implements <method scope="com.sun.star.sdb">XParameters::setObject</method>