summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx5
-rw-r--r--connectivity/source/inc/odbc/OPreparedStatement.hxx3
2 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
index ba402bb3c6ec..686c40f4023b 100644
--- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx
+++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
@@ -769,9 +769,8 @@ SQLLEN* OPreparedStatement::getLengthBuf (sal_Int32 index)
// putParamData
// Puts parameter data from a previously bound input stream. The
// input stream was bound using SQL_LEN_DATA_AT_EXEC.
-
-
-void OPreparedStatement::putParamData (sal_Int32 index) throw(SQLException)
+void OPreparedStatement::putParamData (sal_Int32 index)
+ throw (SQLException, RuntimeException)
{
// Sanity check the parameter index
if ((index < 1) ||
diff --git a/connectivity/source/inc/odbc/OPreparedStatement.hxx b/connectivity/source/inc/odbc/OPreparedStatement.hxx
index 3f229838f201..7f3adeda8e1b 100644
--- a/connectivity/source/inc/odbc/OPreparedStatement.hxx
+++ b/connectivity/source/inc/odbc/OPreparedStatement.hxx
@@ -72,7 +72,8 @@ namespace connectivity
bool m_bPrepared;
void FreeParams();
- void putParamData (sal_Int32 index) throw(::com::sun::star::sdbc::SQLException);
+ void putParamData (sal_Int32 index)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException);
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* getLengthBuf (sal_Int32 index);