diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-11 20:21:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-13 20:10:49 +0100 |
commit | 55dac4ff40be49dd256e6d3e4b080613259d337b (patch) | |
tree | 57ac0bec75e1799f242d00bb83b314ebe3f09f3a /connectivity/source/drivers/odbc/OPreparedStatement.cxx | |
parent | 136fa5432d5d10743373488de9de39a6198b8690 (diff) |
coverity#706364 Uncaught exception
Change-Id: I4a6f7a2aa76d2a998bb6392de35fa1d25c85b3ce
Diffstat (limited to 'connectivity/source/drivers/odbc/OPreparedStatement.cxx')
-rw-r--r-- | connectivity/source/drivers/odbc/OPreparedStatement.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx index 686c40f4023b..cf737a0d6637 100644 --- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx +++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx @@ -831,18 +831,14 @@ void OPreparedStatement::putParamData (sal_Int32 index) } } - - // setStream // Sets an input stream as a parameter, using the given SQL type - - void OPreparedStatement::setStream( sal_Int32 ParameterIndex, const Reference< XInputStream>& x, SQLLEN length, sal_Int32 _nType) - throw(SQLException) + throw (SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OStatement_BASE::rBHelper.bDisposed); |