Tag: cws_src680_dba30
User: oj      
Date: 05/12/29 05:18:05

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

Log:
 #i46951# check if url is factory

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.7.6.5&r2=1.7.6.6
Delta lines:  +5 -4
-------------------
--- dbloader2.cxx       13 Oct 2005 14:55:33 -0000      1.7.6.5
+++ dbloader2.cxx       29 Dec 2005 13:18:03 -0000      1.7.6.6
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dbloader2.cxx,v $
  *
- *  $Revision: 1.7.6.5 $
+ *  $Revision: 1.7.6.6 $
  *
- *  last change: $Author: fs $ $Date: 2005/10/13 14:55:33 $
+ *  last change: $Author: oj $ $Date: 2005/12/29 13:18:03 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -511,7 +511,8 @@
                {
             sal_Bool bInteractive = sal_False;
 
-            bCreateNew = 
_rURL.match(SvtModuleOptions().GetFactoryEmptyDocumentURL(SvtModuleOptions::E_DATABASE));
+                       ::rtl::OUString sFactoryName = 
SvtModuleOptions().GetFactoryEmptyDocumentURL(SvtModuleOptions::E_DATABASE);
+            bCreateNew = sFactoryName.match(_rURL);
                        Sequence<Any> aCreationArgs;
                        if ( !bCreateNew )
                        {




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

Reply via email to