User: kz      
Date: 06/01/03 08:15:09

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

Log:
 INTEGRATION: CWS dba202c (1.16.48); FILE MERGED
 2005/12/05 14:32:28 oj 1.16.48.1: #i55071# check mimetype to find correct type 
like all other apps do

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.16&r2=1.17
Delta lines:  +5 -10
--------------------
--- dbloader2.cxx       23 Sep 2005 12:07:48 -0000      1.16
+++ dbloader2.cxx       3 Jan 2006 16:15:06 -0000       1.17
@@ -232,10 +232,6 @@
        if ( sTemp.getLength() )
        {
                INetURLObject aURL(sTemp);
-               if ( aURL.GetExtension().equalsIgnoreAsciiCaseAscii("odb") )
-                       return 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StarBase"));
-               else
-               {
                        Reference<XPropertySet> 
xProp(::comphelper::OStorageHelper::GetStorageFromURL(sTemp,ElementModes::READ,m_xServiceFactory),UNO_QUERY);
                        if ( xProp.is() )
                        {
@@ -245,8 +241,7 @@
                                        return 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StarBase"));
                                ::comphelper::disposeComponent(xProp);
                        }
-               }
-       }
+               } // if ( sTemp.getLength() )
        } catch(Exception&){}
        return ::rtl::OUString();
 }




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

Reply via email to