summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-01-30 06:51:09 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-01-30 06:51:09 +0000
commitabd4e2db13b6841c8c42ffb51c0e101d7409cc2c (patch)
treea8ee5ab64f39e6537bdef76b029f7703ef2db91d /connectivity/source/drivers/evoab2
parent1cda977bcccef169c07c25b1e0bc07d895baf77c (diff)
INTEGRATION: CWS dba24d (1.8.118); FILE MERGED
2007/11/21 12:43:22 oj 1.8.118.1: #i68854# impl TypeSettingInfo for Oracle and some clean up
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NConnection.cxx23
1 files changed, 3 insertions, 20 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx
index b8c756703d..7981a1f0b0 100644
--- a/connectivity/source/drivers/evoab2/NConnection.cxx
+++ b/connectivity/source/drivers/evoab2/NConnection.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: NConnection.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: kz $ $Date: 2006-12-13 16:16:50 $
+ * last change: $Author: rt $ $Date: 2008-01-30 07:51:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -122,7 +122,6 @@ OEvoabConnection::OEvoabConnection(OEvoabDriver* _pDriver)
:OSubComponent<OEvoabConnection, OConnection_BASE>((::cppu::OWeakObject*)_pDriver, this)
,m_pDriver(_pDriver)
,m_xCatalog(NULL)
- ,m_xMetaData(NULL)
,m_aPassword()
{
}
@@ -277,24 +276,8 @@ void OEvoabConnection::disposing()
{
// we noticed that we should be destroyed in near future so we have to dispose our statements
::osl::MutexGuard aGuard(m_aMutex);
- for (OWeakRefArray::iterator i = m_aStatements.begin(); m_aStatements.end() != i; ++i)
- {
- Reference< XComponent > xComp(i->get(), UNO_QUERY);
- if (xComp.is()) {
- try {
- xComp->dispose();
- }
- catch (com::sun::star::lang::DisposedException e) {
- xComp=NULL;
- }
- }
- }
- m_aStatements.clear();
-
- m_xMetaData = ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XDatabaseMetaData>();
-
- dispose_ChildImpl();
OConnection_BASE::disposing();
+ dispose_ChildImpl();
}
// -------------------------------- stubbed methods ------------------------------------------------