Kaydet (Commit) af48ad21 authored tarafından Michael Meeks's avatar Michael Meeks

fix erroneous disposeOnce calls.

Change-Id: I4ce39e6d6534d1481f7e6b759d61040606da839c
üst aef1826d
...@@ -531,7 +531,7 @@ void SAL_CALL OConnection::close() ...@@ -531,7 +531,7 @@ void SAL_CALL OConnection::close()
MutexGuard aGuard(m_aMutex); MutexGuard aGuard(m_aMutex);
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
} }
disposeOnce(); dispose();
} }
// XWarningsSupplier // XWarningsSupplier
......
...@@ -615,7 +615,7 @@ void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exc ...@@ -615,7 +615,7 @@ void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exc
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_encoding); mysqlc_sdbc_driver::translateAndThrow(e, *this, m_encoding);
} }
disposeOnce(); dispose();
} }
sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std::exception) sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std::exception)
......
...@@ -138,7 +138,7 @@ void SAL_CALL OCommonStatement::close() ...@@ -138,7 +138,7 @@ void SAL_CALL OCommonStatement::close()
MutexGuard aGuard(m_aMutex); MutexGuard aGuard(m_aMutex);
checkDisposed(rBHelper.bDisposed); checkDisposed(rBHelper.bDisposed);
} }
disposeOnce(); dispose();
} }
void SAL_CALL OStatement::clearBatch() void SAL_CALL OStatement::clearBatch()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment