diff options
-rw-r--r-- | connectivity/source/drivers/file/FStatement.cxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/file/FStatement.hxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index bf88543a3b42..c83fadfab892 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -176,8 +176,7 @@ void SAL_CALL OStatement_Base::cancel( ) throw(RuntimeException, std::exception { } - -void SAL_CALL OStatement_Base::close( ) throw(SQLException, RuntimeException, std::exception) +void SAL_CALL OStatement_Base::close() throw (SQLException, RuntimeException, std::exception) { { ::osl::MutexGuard aGuard( m_aMutex ); @@ -186,7 +185,7 @@ void SAL_CALL OStatement_Base::close( ) throw(SQLException, RuntimeException, s dispose(); } -void OStatement_Base::closeResultSet () throw (SQLException) +void OStatement_Base::closeResultSet() throw (SQLException, RuntimeException, std::exception) { SAL_INFO( "connectivity.drivers", "file Ocke.Janssen@sun.com OStatement_Base::clearMyResultSet " ); ::osl::MutexGuard aGuard( m_aMutex ); diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index 9b540dd612ab..976a409562a8 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -113,7 +113,7 @@ namespace connectivity // create the analyzer virtual OSQLAnalyzer* createAnalyzer(); - void closeResultSet () throw( ::com::sun::star::sdbc::SQLException); + void closeResultSet() throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception); sal_Int32 getPrecision ( sal_Int32 sqlType); void disposeResultSet(); |