Tag: cws_ooo300_dba301a User: oj Date: 2008-08-21 06:18:34+0000 Modified: dba/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx
Log: #i92979# allow file based with relative url File Changes: Directory: /dba/dbaccess/source/filter/xml/ =========================================== File [changed]: xmlFileBasedDatabase.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx?r1=1.6&r2=1.6.74.1 Delta lines: +6 -3 ------------------- --- xmlFileBasedDatabase.cxx 2008-04-10 13:30:04+0000 1.6 +++ xmlFileBasedDatabase.cxx 2008-08-21 06:18:31+0000 1.6.74.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlFileBasedDatabase.cxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.6.74.1 $ * * This file is part of OpenOffice.org. * @@ -58,6 +58,7 @@ #include <tools/diagnose_ex.h> #endif #include <comphelper/sequence.hxx> +#include <svtools/filenotation.hxx> #include "dsntypes.hxx" namespace dbaxml { @@ -95,7 +96,9 @@ switch( rTokenMap.Get( nPrefix, sLocalName ) ) { case XML_TOK_DB_HREF: - sLocation = sValue; + { + sLocation = ::svt::OFileNotation(rImport.GetAbsoluteReference(sValue)).get( ::svt::OFileNotation::N_SYSTEM ); + } break; case XML_TOK_MEDIA_TYPE: sMediaType = sValue; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
