Tag: cws_src680_dba27 User: fs Date: 05/03/18 08:25:54 Modified: /dba/dbaccess/source/core/dataaccess/ connection.cxx
Log: #i10000# File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: connection.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/connection.cxx?r1=1.41.4.1&r2=1.41.4.2 Delta lines: +12 -6 -------------------- --- connection.cxx 18 Mar 2005 08:09:06 -0000 1.41.4.1 +++ connection.cxx 18 Mar 2005 16:25:51 -0000 1.41.4.2 @@ -2,9 +2,9 @@ * * $RCSfile: connection.cxx,v $ * - * $Revision: 1.41.4.1 $ + * $Revision: 1.41.4.2 $ * - * last change: $Author: fs $ $Date: 2005/03/18 08:09:06 $ + * last change: $Author: fs $ $Date: 2005/03/18 16:25:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -594,9 +594,11 @@ OConnectionWrapper::disposing(); for (OWeakRefArrayIterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i) - ::comphelper::disposeComponent( i->get() ); + { + Reference<XComponent> xComp(i->get(),UNO_QUERY); + ::comphelper::disposeComponent(xComp); + } m_aStatements.clear(); - m_xMasterTables = NULL; if(m_pTables) @@ -607,7 +609,11 @@ ::comphelper::disposeComponent(m_xQueries); for (OWeakRefArrayIterator j = m_aComposers.begin(); m_aComposers.end() != j; ++j) - ::comphelper::disposeComponent(j->get()); + { + Reference<XComponent> xComp(j->get(),UNO_QUERY); + ::comphelper::disposeComponent(xComp); + } + m_aComposers.clear(); try --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
