Tag: cws_src680_reportdesign03 User: oj Date: 2007-11-30 06:57:17+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: #i79166# clear connection and metadata when connection is disposed File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.47&r2=1.47.30.1 Delta lines: +8 -10 -------------------- --- AppController.cxx 2007-09-26 14:46:26+0000 1.47 +++ AppController.cxx 2007-11-30 06:57:15+0000 1.47.30.1 @@ -4,9 +4,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.47 $ + * $Revision: 1.47.30.1 $ * - * last change: $Author: hr $ $Date: 2007/09/26 14:46:26 $ + * last change: $Author: oj $ $Date: 2007/11/30 06:57:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -517,13 +517,11 @@ "OApplicationController::disposing: the below code will ignore this call - why?" ); if ( getContainer() && getContainer()->getElementType() == E_TABLE ) - { + getContainer()->clearPages(); if ( m_xDataSourceConnection == xCon ) { - getContainer()->clearPages(); - m_xDataSourceConnection.clear(); m_xMetaData.clear(); - } + m_xDataSourceConnection.clear(); } } else if ( _rSource.Source == m_xModel ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
