diff options
-rw-r--r-- | connectivity/source/drivers/odbc/OStatement.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index f1bcd6fd67c9..3e1f82997bf7 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -235,7 +235,8 @@ void OStatement_Base::clearMyResultSet () throw (SQLException) m_xResultSet.clear(); } -SQLLEN OStatement_Base::getRowCount () throw( SQLException) +SQLLEN OStatement_Base::getRowCount() + throw (SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OStatement_BASE::rBHelper.bDisposed); diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx index bef56858040d..3270e660771c 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -122,7 +122,7 @@ namespace connectivity */ virtual OResultSet* createResulSet(); - SQLLEN getRowCount () throw( ::com::sun::star::sdbc::SQLException); + SQLLEN getRowCount() throw (css::sdbc::SQLException, css::uno::RuntimeException); void disposeResultSet(); |