Tag: cws_src680_dba205b User: fs Date: 2006/08/06 13:20:07 Modified: dba/dbaccess/source/core/api/table.cxx
Log: #i67020# hold the column container mediator as ::rtl::Reference File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: table.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/table.cxx?r1=1.56&r2=1.56.18.1 Delta lines: +6 -7 ------------------- --- table.cxx 10 Jul 2006 15:07:11 -0000 1.56 +++ table.cxx 6 Aug 2006 20:20:05 -0000 1.56.18.1 @@ -4,9 +4,9 @@ * * $RCSfile: table.cxx,v $ * - * $Revision: 1.56 $ + * $Revision: 1.56.18.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 15:07:11 $ + * last change: $Author: fs $ $Date: 2006/08/06 20:20:05 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -228,7 +228,7 @@ OTable_Base::disposing(); m_xColumnDefinitions = NULL; m_xDriverColumns = NULL; - m_xColumnMediator = NULL; + m_pColumnMediator = NULL; } //------------------------------------------------------------------------------ @@ -474,9 +474,8 @@ xMeta.is() && xMeta->supportsAlterTableWithDropColumn()); static_cast<OColumnsHelper*>(pCol)->setParent(this); pCol->setParent(*this); - OContainerMediator* pMediator = new OContainerMediator(pCol,m_xColumnDefinitions,sal_False); - m_xColumnMediator = pMediator; - pCol->setMediator(pMediator); + m_pColumnMediator = new OContainerMediator( pCol, m_xColumnDefinitions, getConnection(), OContainerMediator::eColumns ); + pCol->setMediator( m_pColumnMediator.get() ); return pCol; } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
