Tag: cws_src680_dba29
User: fs      
Date: 05/04/05 05:48:17

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

Log:
 #i46699# don't assume existing model when leaning up after an error while 
loading

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.21&r2=1.21.12.1
Delta lines:  +7 -5
-------------------
--- dbloader.cxx        10 Mar 2005 16:45:19 -0000      1.21
+++ dbloader.cxx        5 Apr 2005 12:48:15 -0000       1.21.12.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: dbloader.cxx,v $
  *
- *  $Revision: 1.21 $
+ *  $Revision: 1.21.12.1 $
  *
- *  last change: $Author: vg $ $Date: 2005/03/10 16:45:19 $
+ *  last change: $Author: fs $ $Date: 2005/04/05 12:48:15 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -351,7 +351,9 @@
                                bSuccess = sal_False;
                                try
                 {
+                    if ( xController.is() )
                                    xController->attachModel(NULL);
+                    if ( xModel.is() )
                                    xModel->disconnectController( xController );
                 }
                 catch( const Exception& )




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

Reply via email to