summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-01 10:15:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-01 10:56:14 +0100
commit6d45e2a4fcacf0e58b4b8d22ad452e48a996ad88 (patch)
tree9d7a7243fb2bcc37b9b090c774f645cafa88adbc /connectivity
parent5ace3f3b4f2f916d8b2acab1b5cc0fe2a5a19dee (diff)
coverity#1224302 Uncaught exception
Change-Id: I622a7c41c9083f2deec21dc8c37572f978874127
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/file/FStatement.cxx5
-rw-r--r--connectivity/source/inc/file/FStatement.hxx2
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();