Tag: cws_src680_dba26 User: fs Date: 05/03/11 05:36:01 Modified: /dba/dbaccess/source/core/dataaccess/ documentcontainer.cxx
Log: #i44786# createInstanceWithArguments: don't reuse the ContentImpl of an existing object, if we're creating a new one 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.10&r2=1.10.60.1 Delta lines: +4 -4 ------------------- --- documentcontainer.cxx 16 Nov 2004 09:27:58 -0000 1.10 +++ documentcontainer.cxx 11 Mar 2005 13:35:58 -0000 1.10.60.1 @@ -2,9 +2,9 @@ * * $RCSfile: documentcontainer.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.10.60.1 $ * - * last change: $Author: obo $ $Date: 2004/11/16 09:27:58 $ + * last change: $Author: fs $ $Date: 2005/03/11 13:35:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -254,7 +254,7 @@ ODefinitionContainer_Impl::Documents::iterator aFind = pItem->m_aDocumentMap.find(sName); TContentPtr pElementImpl; - if ( aFind == pItem->m_aDocumentMap.end() ) + if ( bNew || ( aFind == pItem->m_aDocumentMap.end() ) ) { pElementImpl.reset( new OContentHelper_Impl ); if ( !bNew ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
