Tag: cws_src680_dba24
User: oj      
Date: 05/02/24 22:29:20

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

Log:
 #i42460# check impl is not null

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.8.2.9&r2=1.8.2.10
Delta lines:  +5 -4
-------------------
--- databasedocument.cxx        24 Feb 2005 13:29:02 -0000      1.8.2.9
+++ databasedocument.cxx        25 Feb 2005 06:29:17 -0000      1.8.2.10
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: databasedocument.cxx,v $
  *
- *  $Revision: 1.8.2.9 $
+ *  $Revision: 1.8.2.10 $
  *
- *  last change: $Author: oj $ $Date: 2005/02/24 13:29:02 $
+ *  last change: $Author: oj $ $Date: 2005/02/25 06:29:17 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -384,7 +384,7 @@
            if ( m_pImpl->m_xCurrentController == _xController )
                    m_pImpl->m_xCurrentController = NULL;
     }
-       if ( m_pImpl->m_aControllers.empty() )
+       if ( m_pImpl.is() && m_pImpl->m_aControllers.empty() )
                dispose();
 }
 // 
-----------------------------------------------------------------------------
@@ -699,7 +699,8 @@
                                xFrame->close(bDeliverOwnership);
                }
        }
-//     m_pImpl->m_aControllers.clear();
+    if ( m_pImpl.is() )
+       m_pImpl->m_aControllers.clear();
        dispose();
        {
                
NOTIFY_LISTERNERS(m_aCloseListener,com::sun::star::util::XCloseListener,notifyClosing);




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

Reply via email to