diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:57:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | 321d5970c687fac40fb5da55b517f01ca630ad77 (patch) | |
tree | 1785fdad9ca9dd9047df49515d10b8a5cc2136fb | |
parent | coverity#1372401 Uncaught exception (diff) | |
download | core-321d5970c687fac40fb5da55b517f01ca630ad77.tar.gz core-321d5970c687fac40fb5da55b517f01ca630ad77.zip |
coverity#1372402 Uncaught exception
Change-Id: I63743ccdeca1be66da5622bd286f08daebdd74ff
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 2 | ||||
-rw-r--r-- | include/connectivity/dbtools.hxx | 2 |
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 |