From 404bf8d2604dde0fb8325c50611d71b770863a3a Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Fri, 23 Sep 2005 10:38:50 +0000 Subject: INTEGRATION: CWS dba201b (1.92.58); FILE MERGED 2005/09/21 08:00:16 oj 1.92.58.2: RESYNC: (1.92-1.93); FILE MERGED 2005/07/11 13:27:06 fs 1.92.58.1: merging CWS dba201 into dba201b --- connectivity/source/drivers/file/FResultSet.cxx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx index 24c6ab19a334..46c71b11d5ac 100644 --- a/connectivity/source/drivers/file/FResultSet.cxx +++ b/connectivity/source/drivers/file/FResultSet.cxx @@ -4,9 +4,9 @@ * * $RCSfile: FResultSet.cxx,v $ * - * $Revision: 1.93 $ + * $Revision: 1.94 $ * - * last change: $Author: rt $ $Date: 2005-09-08 05:56:34 $ + * last change: $Author: hr $ $Date: 2005-09-23 11:38:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -203,6 +203,9 @@ void OResultSet::disposing(void) m_xParamColumns = NULL; m_xColsIdx = NULL; + Reference xComp = m_pTable; + if ( xComp.is() ) + xComp->removeEventListener(this); if(m_pTable) { m_pTable->release(); @@ -460,14 +463,7 @@ void SAL_CALL OResultSet::afterLast( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::close( ) throw(SQLException, RuntimeException) { -// { -// ::osl::MutexGuard aGuard( m_aMutex ); -// checkDisposed(OResultSet_BASE::rBHelper.bDisposed); -// -// } -// dispose(); - ::osl::MutexGuard aGuard( m_aMutex ); - clear(); + dispose(); } // ------------------------------------------------------------------------- -- cgit