Tag: cws_src680_dba202a User: fs Date: 05/11/28 05:55:01 Modified: /dba/dbaccess/source/core/dataaccess/ documentcontainer.cxx
Log: #i57097# don't default ClassId if the new doc is to be inserted from an existent document File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: documentcontainer.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentcontainer.cxx?r1=1.15.24.1&r2=1.15.24.2 Delta lines: +3 -3 ------------------- --- documentcontainer.cxx 1 Nov 2005 09:03:15 -0000 1.15.24.1 +++ documentcontainer.cxx 28 Nov 2005 13:54:58 -0000 1.15.24.2 @@ -4,9 +4,9 @@ * * $RCSfile: documentcontainer.cxx,v $ * - * $Revision: 1.15.24.1 $ + * $Revision: 1.15.24.2 $ * - * last change: $Author: fs $ $Date: 2005/11/01 09:03:15 $ + * last change: $Author: fs $ $Date: 2005/11/28 13:54:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -229,7 +229,7 @@ xProp->getPropertyValue(PROPERTY_AS_TEMPLATE) >>= bAsTemplate; } - if ( aClassID.getLength() == 0 ) + if ( ( aClassID.getLength() == 0 ) && ( 0 == sURL.getLength() ) ) // default the class id, if none is given // #i57097# / 2005-11-01 / [EMAIL PROTECTED] aClassID = ODocumentDefinition::getDefaultDocumentTypeClassId(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
