Tag: cws_src680_c03v1
User: rt      
Date: 05/06/21 07:01:10

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

Log:
 #i10000# Fix invalid initialization

File Changes:

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

File [changed]: ModelImpl.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.cxx?r1=1.4.48.1&r2=1.4.48.2
Delta lines:  +7 -4
-------------------
--- ModelImpl.cxx       21 Jun 2005 09:52:18 -0000      1.4.48.1
+++ ModelImpl.cxx       21 Jun 2005 14:01:07 -0000      1.4.48.2
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: ModelImpl.cxx,v $
  *
- *  $Revision: 1.4.48.1 $
+ *  $Revision: 1.4.48.2 $
  *
- *  last change: $Author: fs $ $Date: 2005/06/21 09:52:18 $
+ *  last change: $Author: rt $ $Date: 2005/06/21 14:01:07 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -515,7 +515,10 @@
     // dispose the data source and the model
     try
     {
-               ::comphelper::disposeComponent(m_xDataSource.get());
+        Reference< XDataSource > xDS( m_xDataSource );
+               ::comphelper::disposeComponent( xDS );
+        m_xDataSource = WeakReference<XDataSource>();
+
                ::comphelper::disposeComponent(m_xTempModel);
     }
     catch( const Exception& )




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

Reply via email to