User: vg Date: 05/03/23 01:47:08 Modified: /dba/dbaccess/source/core/dataaccess/ documentcontainer.cxx
Log: INTEGRATION: CWS dba26 (1.10.60); FILE MERGED 2005/03/14 14:00:00 fs 1.10.60.2: RESYNC: (1.10-1.11); FILE MERGED 2005/03/11 13:35:58 fs 1.10.60.1: #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.11&r2=1.12 Delta lines: +1 -1 ------------------- --- documentcontainer.cxx 10 Mar 2005 16:34:52 -0000 1.11 +++ documentcontainer.cxx 23 Mar 2005 09:47:06 -0000 1.12 @@ -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]
