Tag: cws_dev300_odbmacros3 User: fs Date: 2008-07-23 11:44:31+0000 Modified: dba/dbaccess/source/filter/xml/dbloader2.cxx
Log: #i76128# create a un-initialized DBDoc, since we want to XLodable::load it later on 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.32.28.6&r2=1.32.28.7 Delta lines: +5 -4 ------------------- --- dbloader2.cxx 2008-07-23 10:08:37+0000 1.32.28.6 +++ dbloader2.cxx 2008-07-23 11:44:28+0000 1.32.28.7 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dbloader2.cxx,v $ - * $Revision: 1.32.28.6 $ + * $Revision: 1.32.28.7 $ * * This file is part of OpenOffice.org. * @@ -457,9 +457,10 @@ } else { - Sequence< Any > aCreationArgs( 1 ); - aCreationArgs[0] <<= NamedValue( INFO_POOLURL, makeAny( sSalvagedURL ) ); - xDocumentDataSource.set( xDatabaseContext->createInstanceWithArguments( aCreationArgs ), UNO_QUERY_THROW ); + ::comphelper::NamedValueCollection aCreationArgs; + aCreationArgs.put( (::rtl::OUString)INFO_POOLURL, sSalvagedURL ); + aCreationArgs.put( "InitializeDocument", false ); + xDocumentDataSource.set( xDatabaseContext->createInstanceWithArguments( aCreationArgs.getWrappedNamedValues() ), UNO_QUERY_THROW ); } xModel.set( xDocumentDataSource->getDatabaseDocument(), UNO_QUERY ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
