Tag: cws_src680_dba203a
User: fs      
Date: 06/03/16 01:52:03

Modified:
 /dba/dbaccess/source/core/dataaccess/
  ModelImpl.hxx

Log:
 #i63162# hold the document weak

File Changes:

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

File [changed]: ModelImpl.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.hxx?r1=1.10&r2=1.10.12.1
Delta lines:  +6 -6
-------------------
--- ModelImpl.hxx       7 Feb 2006 10:18:28 -0000       1.10
+++ ModelImpl.hxx       16 Mar 2006 09:51:58 -0000      1.10.12.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: ModelImpl.hxx,v $
  *
- *  $Revision: 1.10 $
+ *  $Revision: 1.10.12.1 $
  *
- *  last change: $Author: rt $ $Date: 2006/02/07 10:18:28 $
+ *  last change: $Author: fs $ $Date: 2006/03/16 09:51:58 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -201,8 +201,8 @@
 class ODatabaseModelImpl : public ::rtl::IReference
 {
 private:
-    ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>         
        m_xTempModel;
-    ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XDataSource> 
m_xDataSource;
+    ::com::sun::star::uno::WeakReference< ::com::sun::star::frame::XModel >    
    m_xModel;
+    ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XDataSource 
>        m_xDataSource;
 
     DocumentStorageAccess*                                                     
 m_pStorageAccess;
     ::rtl::Reference< SharedMutex >                                            
 m_xMutex;
@@ -428,7 +428,7 @@
 
         Only to be called when the model is being disposed
     */
-    void    modelIsDisposing( ResetModelAccess ) { m_xTempModel = NULL; }
+    void    modelIsDisposing( ResetModelAccess ) { m_xModel = 
::com::sun::star::uno::WeakReference< ::com::sun::star::frame::XModel >(); }
 
     DocumentStorageAccess*
             getDocumentStorageAccess();




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

Reply via email to