Tag: cws_src680_dba202c User: oj Date: 05/12/05 06:32:31 Modified: /dba/dbaccess/source/filter/xml/ dbloader2.cxx
Log: #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.16.48.1 Delta lines: +8 -13 -------------------- --- dbloader2.cxx 23 Sep 2005 12:07:48 -0000 1.16 +++ dbloader2.cxx 5 Dec 2005 14:32:28 -0000 1.16.48.1 @@ -4,9 +4,9 @@ * * $RCSfile: dbloader2.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.16.48.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:07:48 $ + * last change: $Author: oj $ $Date: 2005/12/05 14:32:28 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -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]
