Tag: cws_src680_dba203c
User: oj      
Date: 06/04/13 07:12:22

Modified:
 /dba/dbaccess/source/filter/xml/
  dbloader2.cxx

Log:
 #i63434# set args even at a new database

File Changes:

Directory: /dba/dbaccess/source/filter/xml/
===========================================

File [changed]: dbloader2.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/dbloader2.cxx?r1=1.18&r2=1.18.4.1
Delta lines:  +12 -8
--------------------
--- dbloader2.cxx       24 Mar 2006 13:02:11 -0000      1.18
+++ dbloader2.cxx       13 Apr 2006 14:12:19 -0000      1.18.4.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dbloader2.cxx,v $
  *
- *  $Revision: 1.18 $
+ *  $Revision: 1.18.4.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/03/24 13:02:11 $
+ *  last change: $Author: oj $ $Date: 2006/04/13 14:12:19 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -527,13 +527,17 @@
                Reference< XDocumentDataSource > xDocumentDataSource;
             
xDocumentDataSource.set(xDatabaseContext->createInstanceWithArguments(aCreationArgs),UNO_QUERY_THROW);
                        
xModel.set(xDocumentDataSource->getDatabaseDocument(),UNO_QUERY);
-
-            if ( bInteractive && xModel.is() )
+            if ( xModel.is() )
             {
                 ::rtl::OUString sURL = xModel->getURL();
+                xModel->attachResource( sURL, aLoadArgs );
+
+                if ( bInteractive )
+                {   
                 bSuccess = impl_executeNewDatabaseWizard( xModel, 
bStartTableWizard );
                 if ( sURL != xModel->getURL() )
                     bDidLoadExisting = sal_True;
+                }
             }
                }
        }




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

Reply via email to