Tag: cws_src680_dba201b
User: fs      
Date: 05/07/20 03:10:51

Modified:
 /dba/dbaccess/source/ui/browser/
  dbloader.cxx

Log:
 #i51255# no explicit dis/connectController from the outside - controllers are 
now responsible for this themself, including life time control of the model

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: dbloader.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/dbloader.cxx?r1=1.22.22.1&r2=1.22.22.2
Delta lines:  +3 -6
-------------------
--- dbloader.cxx        11 Jul 2005 13:37:13 -0000      1.22.22.1
+++ dbloader.cxx        20 Jul 2005 10:10:48 -0000      1.22.22.2
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: dbloader.cxx,v $
  *
- *  $Revision: 1.22.22.1 $
+ *  $Revision: 1.22.22.2 $
  *
- *  last change: $Author: fs $ $Date: 2005/07/11 13:37:13 $
+ *  last change: $Author: fs $ $Date: 2005/07/20 10:10:48 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -317,7 +317,6 @@
                 try
                 {
                                    xController->attachModel(xModel);
-                                   xModel->connectController( xController );
                                    xModel->setCurrentController(xController);
                 }
                 catch( const Exception& )
@@ -357,9 +356,7 @@
                                try
                 {
                     if ( xController.is() )
-                                       xController->attachModel(NULL);
-                    if ( xModel.is() )
-                                       xModel->disconnectController( 
xController );
+                                       xController->attachModel( NULL );
                 }
                 catch( const Exception& )
                 {




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

Reply via email to