Kaydet (Commit) 55dac4ff authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706364 Uncaught exception

Change-Id: I4a6f7a2aa76d2a998bb6392de35fa1d25c85b3ce
üst 136fa543
...@@ -831,18 +831,14 @@ void OPreparedStatement::putParamData (sal_Int32 index) ...@@ -831,18 +831,14 @@ void OPreparedStatement::putParamData (sal_Int32 index)
} }
} }
// setStream // setStream
// Sets an input stream as a parameter, using the given SQL type // Sets an input stream as a parameter, using the given SQL type
void OPreparedStatement::setStream( void OPreparedStatement::setStream(
sal_Int32 ParameterIndex, sal_Int32 ParameterIndex,
const Reference< XInputStream>& x, const Reference< XInputStream>& x,
SQLLEN length, SQLLEN length,
sal_Int32 _nType) sal_Int32 _nType)
throw(SQLException) throw (SQLException, RuntimeException)
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
......
...@@ -75,7 +75,7 @@ namespace connectivity ...@@ -75,7 +75,7 @@ namespace connectivity
void putParamData (sal_Int32 index) void putParamData (sal_Int32 index)
throw (css::sdbc::SQLException, css::uno::RuntimeException); throw (css::sdbc::SQLException, css::uno::RuntimeException);
void setStream (sal_Int32 ParameterIndex,const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream>& x, void setStream (sal_Int32 ParameterIndex,const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream>& x,
SQLLEN length,sal_Int32 SQLtype) throw(::com::sun::star::sdbc::SQLException); SQLLEN length,sal_Int32 SQLtype) throw (css::sdbc::SQLException, css::uno::RuntimeException);
SQLLEN* getLengthBuf (sal_Int32 index); SQLLEN* getLengthBuf (sal_Int32 index);
void* allocBindBuf ( sal_Int32 index, sal_Int32 bufLen); void* allocBindBuf ( sal_Int32 index, sal_Int32 bufLen);
void initBoundParam () throw(::com::sun::star::sdbc::SQLException); void initBoundParam () throw(::com::sun::star::sdbc::SQLException);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment