Tag: cws_src680_dba29
User: fs      
Date: 05/04/01 02:56:49

Modified:
 /dba/dbaccess/source/core/dataaccess/
  databasedocument.cxx

Log:
 #i46412# m_pChildCommitListen->dispose before cleaning it up, to ensure that 
it doesn't forward any events we are not interested in anymore

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: databasedocument.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.15&r2=1.15.4.1
Delta lines:  +5 -3
-------------------
--- databasedocument.cxx        23 Mar 2005 09:46:04 -0000      1.15
+++ databasedocument.cxx        1 Apr 2005 10:56:46 -0000       1.15.4.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: databasedocument.cxx,v $
  *
- *  $Revision: 1.15 $
+ *  $Revision: 1.15.4.1 $
  *
- *  last change: $Author: vg $ $Date: 2005/03/23 09:46:04 $
+ *  last change: $Author: fs $ $Date: 2005/04/01 10:56:46 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -271,6 +271,7 @@
 
                if ( m_pChildCommitListen )
                {
+                       m_pChildCommitListen->dispose();
                        m_pChildCommitListen->release();
                        m_pChildCommitListen = NULL;
                }
@@ -1191,6 +1192,7 @@
            
notifyEvent(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OnUnload")));
         if ( m_pChildCommitListen )
            {
+                       m_pChildCommitListen->dispose();
                    m_pChildCommitListen->release();
                    m_pChildCommitListen = NULL;
            }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to