diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-28 15:34:17 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-28 15:34:54 +0100 |
commit | af48ad2120b3240826edbd0af2a28531adeb5154 (patch) | |
tree | 2b448246c86be9bd8f4dc247d0b199e84b1ef557 /mysqlc | |
parent | aef1826d9ca318a1359a2116e7f146e993413234 (diff) |
fix erroneous disposeOnce calls.
Change-Id: I4ce39e6d6534d1481f7e6b759d61040606da839c
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_connection.cxx | 2 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_resultset.cxx | 2 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_statement.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx index 47ffd8d8e824..d26558bae931 100644 --- a/mysqlc/source/mysqlc_connection.cxx +++ b/mysqlc/source/mysqlc_connection.cxx @@ -531,7 +531,7 @@ void SAL_CALL OConnection::close() MutexGuard aGuard(m_aMutex); checkDisposed(OConnection_BASE::rBHelper.bDisposed); } - disposeOnce(); + dispose(); } // XWarningsSupplier diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx index 662cd458cf99..2ef646c906f0 100644 --- a/mysqlc/source/mysqlc_resultset.cxx +++ b/mysqlc/source/mysqlc_resultset.cxx @@ -615,7 +615,7 @@ void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exc mysqlc_sdbc_driver::translateAndThrow(e, *this, m_encoding); } - disposeOnce(); + dispose(); } sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std::exception) diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx index c645a815ee37..f2a15d38f7af 100644 --- a/mysqlc/source/mysqlc_statement.cxx +++ b/mysqlc/source/mysqlc_statement.cxx @@ -138,7 +138,7 @@ void SAL_CALL OCommonStatement::close() MutexGuard aGuard(m_aMutex); checkDisposed(rBHelper.bDisposed); } - disposeOnce(); + dispose(); } void SAL_CALL OStatement::clearBatch() |