summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 21:57:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-01 10:40:14 +0100
commit321d5970c687fac40fb5da55b517f01ca630ad77 (patch)
tree1785fdad9ca9dd9047df49515d10b8a5cc2136fb
parentcoverity#1372401 Uncaught exception (diff)
downloadcore-321d5970c687fac40fb5da55b517f01ca630ad77.tar.gz
core-321d5970c687fac40fb5da55b517f01ca630ad77.zip
coverity#1372402 Uncaught exception
Change-Id: I63743ccdeca1be66da5622bd286f08daebdd74ff
-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 ea7849eba064..7a7d041101a9 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1779,7 +1779,7 @@ void setObjectWithInfo(const Reference<XParameters>& _xParams,
sal_Int32 parameterIndex,
const Any& x,
sal_Int32 sqlType,
- sal_Int32 scale) throw(SQLException, RuntimeException)
+ sal_Int32 scale) throw(SQLException, RuntimeException, std::exception)
{
ORowSetValue aVal;
aVal.fill(x);
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx
index 2d57893f8668..32db2ece12a8 100644
--- a/include/connectivity/dbtools.hxx
+++ b/include/connectivity/dbtools.hxx
@@ -576,7 +576,7 @@ namespace dbtools
sal_Int32 parameterIndex,
const css::uno::Any& x,
sal_Int32 sqlType,
- sal_Int32 scale=0) throw(css::sdbc::SQLException, css::uno::RuntimeException);
+ sal_Int32 scale=0) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception);
/** call the appropriate set method for the specific sql type @see css::sdbc::DataType
@param _xParams the parameters where to set the value