Tag: cws_src680_dba27 User: fs Date: 05/03/18 00:09:08 Modified: /dba/dbaccess/source/core/dataaccess/ connection.cxx
Log: #i45153# layout for readability 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&r2=1.41.4.1 Delta lines: +7 -13 -------------------- --- connection.cxx 10 Mar 2005 16:33:05 -0000 1.41 +++ connection.cxx 18 Mar 2005 08:09:06 -0000 1.41.4.1 @@ -2,9 +2,9 @@ * * $RCSfile: connection.cxx,v $ * - * $Revision: 1.41 $ + * $Revision: 1.41.4.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:33:05 $ + * last change: $Author: fs $ $Date: 2005/03/18 08:09:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -594,11 +594,9 @@ OConnectionWrapper::disposing(); for (OWeakRefArrayIterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i) - { - Reference<XComponent> xComp(i->get(),UNO_QUERY); - ::comphelper::disposeComponent(xComp); - } + ::comphelper::disposeComponent( i->get() ); m_aStatements.clear(); + m_xMasterTables = NULL; if(m_pTables) @@ -609,11 +607,7 @@ ::comphelper::disposeComponent(m_xQueries); for (OWeakRefArrayIterator j = m_aComposers.begin(); m_aComposers.end() != j; ++j) - { - Reference<XComponent> xComp(j->get(),UNO_QUERY); - ::comphelper::disposeComponent(xComp); - } - + ::comphelper::disposeComponent(j->get()); m_aComposers.clear(); try --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
