User: rt      
Date: 2008-01-30 07:56:59+0000
Modified:
   dba/connectivity/source/drivers/mozab/MConnection.cxx

Log:
 INTEGRATION: CWS dba24d (1.26.78); FILE MERGED
 2007/11/21 12:42:26 oj 1.26.78.1: #i68854# impl TypeSettingInfo for Oracle and 
some clean up

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/
==================================================

File [changed]: MConnection.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MConnection.cxx?r1=1.26&r2=1.27
Delta lines:  +1 -12
--------------------
--- MConnection.cxx     2007-03-26 13:59:24+0000        1.26
+++ MConnection.cxx     2008-01-30 07:56:56+0000        1.27
@@ -145,7 +145,6 @@
 
 OConnection::OConnection(MozabDriver*  _pDriver)
     :OSubComponent<OConnection, 
OConnection_BASE>((::cppu::OWeakObject*)_pDriver, this)
-    ,m_xMetaData(NULL)
     ,m_pDriver(_pDriver)
     ,m_pImplData( new ConnectionImplData )
     ,m_aColumnAlias( _pDriver->getMSFactory() )
@@ -552,23 +551,13 @@
 
     m_pImplData->pResourceBundle.reset();
 
-       for (OWeakRefArray::iterator i = m_aStatements.begin(); 
m_aStatements.end() != i; ++i)
-       {
-               Reference< XComponent > xComp(i->get(), UNO_QUERY);
-               if (xComp.is())
-                       xComp->dispose();
-       }
-       m_aStatements.clear();
-
-       m_xMetaData = ::com::sun::star::uno::WeakReference< 
::com::sun::star::sdbc::XDatabaseMetaData>();
-
+    OConnection_BASE::disposing();
     if ( m_aNameMapper ) {
         MQuery::FreeNameMapper( m_aNameMapper );
         m_aNameMapper = NULL;
     }
 
        dispose_ChildImpl();
-       OConnection_BASE::disposing();
 }
 // 
-----------------------------------------------------------------------------
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to