summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2000-10-17 07:36:20 +0000
committerOcke Janssen <oj@openoffice.org>2000-10-17 07:36:20 +0000
commit84ecbfca4862f41b0cac86e37347a4db9839424c (patch)
tree0339d36ae8038ca661416324a84d0f788ec8c2e3 /connectivity
parentc0634454adf76a6f3d74f379a71469d316670da8 (diff)
insert dtor
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/sdbcx/VCollection.cxx17
-rw-r--r--connectivity/source/sdbcx/VColumn.cxx8
-rw-r--r--connectivity/source/sdbcx/VGroup.cxx9
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx9
-rw-r--r--connectivity/source/sdbcx/VKey.cxx9
-rw-r--r--connectivity/source/sdbcx/VTable.cxx11
-rw-r--r--connectivity/source/sdbcx/VUser.cxx9
-rw-r--r--connectivity/source/sdbcx/VView.cxx8
8 files changed, 64 insertions, 16 deletions
diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx
index 5738577c0373..b5ee03bf2c66 100644
--- a/connectivity/source/sdbcx/VCollection.cxx
+++ b/connectivity/source/sdbcx/VCollection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VCollection.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: fs $ $Date: 2000-10-11 10:43:01 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,6 +80,19 @@ using namespace ::com::sun::star::util;
IMPLEMENT_SERVICE_INFO(OCollection,"com.sun.star.sdbcx.VContainer" , "com.sun.star.sdbcx.Container")
+OCollection::OCollection(::cppu::OWeakObject& _rParent,sal_Bool _bCase, ::osl::Mutex& _rMutex,const ::std::vector< ::rtl::OUString> &_rVector)
+ : m_rParent(_rParent)
+ ,m_rMutex(_rMutex)
+ ,m_aRefreshListeners(_rMutex)
+ ,m_aNameMap(_bCase)
+{
+ for(::std::vector< ::rtl::OUString>::const_iterator i=_rVector.begin(); i != _rVector.end();++i)
+ m_aElements.push_back(m_aNameMap.insert(m_aNameMap.begin(), ObjectMap::value_type(*i,::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNamed >())));
+}
+// -------------------------------------------------------------------------
+OCollection::~OCollection()
+{
+}
// -------------------------------------------------------------------------
void OCollection::disposing(void)
{
diff --git a/connectivity/source/sdbcx/VColumn.cxx b/connectivity/source/sdbcx/VColumn.cxx
index 324bc8210bae..cc33fa73ae5a 100644
--- a/connectivity/source/sdbcx/VColumn.cxx
+++ b/connectivity/source/sdbcx/VColumn.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VColumn.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,6 +124,10 @@ OColumn::OColumn( const ::rtl::OUString& _Name,
construct();
}
// -------------------------------------------------------------------------
+OColumn::~OColumn()
+{
+}
+// -------------------------------------------------------------------------
Any SAL_CALL OColumn::queryInterface( const Type & rType ) throw(RuntimeException)
{
Any aRet = ODescriptor::queryInterface( rType);
diff --git a/connectivity/source/sdbcx/VGroup.cxx b/connectivity/source/sdbcx/VGroup.cxx
index 5d048f45e789..e1320db1bd14 100644
--- a/connectivity/source/sdbcx/VGroup.cxx
+++ b/connectivity/source/sdbcx/VGroup.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VGroup.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,6 +104,11 @@ OGroup::OGroup(const ::rtl::OUString& _Name,sal_Bool _bCase) : OGroup_BASE(m_aM
m_Name = _Name;
}
// -------------------------------------------------------------------------
+OGroup::~OGroup()
+{
+ delete m_pUsers;
+}
+// -------------------------------------------------------------------------
Any SAL_CALL OGroup::queryInterface( const Type & rType ) throw(RuntimeException)
{
Any aRet = ODescriptor::queryInterface( rType);
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index 29ee82839c19..e3923e7f0191 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VIndex.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -109,6 +109,11 @@ OIndex::OIndex( const ::rtl::OUString& _Name,
m_Name = _Name;
}
// -------------------------------------------------------------------------
+OIndex::~OIndex( )
+{
+ delete m_pColumns;
+}
+// -------------------------------------------------------------------------
Any SAL_CALL OIndex::queryInterface( const Type & rType ) throw(RuntimeException)
{
Any aRet = ODescriptor::queryInterface( rType);
diff --git a/connectivity/source/sdbcx/VKey.cxx b/connectivity/source/sdbcx/VKey.cxx
index c5b145163eb5..cc20edac4852 100644
--- a/connectivity/source/sdbcx/VKey.cxx
+++ b/connectivity/source/sdbcx/VKey.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VKey.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -113,6 +113,11 @@ OKey::OKey( const ::rtl::OUString& _Name,
m_Name = _Name;
}
// -------------------------------------------------------------------------
+OKey::~OKey( )
+{
+ delete m_pColumns;
+}
+// -------------------------------------------------------------------------
Any SAL_CALL OKey::queryInterface( const Type & rType ) throw(RuntimeException)
{
Any aRet = ODescriptor::queryInterface( rType);
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index ebef6d33004e..54ea870b7eaf 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VTable.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -118,6 +118,13 @@ OTable::OTable( sal_Bool _bCase,
m_Name = _Name;
}
// -------------------------------------------------------------------------
+OTable::~OTable()
+{
+ delete m_pIndexes;
+ delete m_pKeys;
+ delete m_pColumns;
+}
+// -------------------------------------------------------------------------
Any SAL_CALL OTable::queryInterface( const Type & rType ) throw(RuntimeException)
{
Any aRet = ODescriptor::queryInterface( rType);
diff --git a/connectivity/source/sdbcx/VUser.cxx b/connectivity/source/sdbcx/VUser.cxx
index b121b38bb570..804f524c51b3 100644
--- a/connectivity/source/sdbcx/VUser.cxx
+++ b/connectivity/source/sdbcx/VUser.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VUser.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,6 +104,11 @@ OUser::OUser(const ::rtl::OUString& _Name,sal_Bool _bCase) : OUser_BASE(m_aMu
m_Name = _Name;
}
// -------------------------------------------------------------------------
+OUser::~OUser( )
+{
+ delete m_pGroups;
+}
+// -------------------------------------------------------------------------
void OUser::disposing(void)
{
OPropertySetHelper::disposing();
diff --git a/connectivity/source/sdbcx/VView.cxx b/connectivity/source/sdbcx/VView.cxx
index ba0fdaa895aa..abce9fb1d355 100644
--- a/connectivity/source/sdbcx/VView.cxx
+++ b/connectivity/source/sdbcx/VView.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VView.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-10-09 12:06:36 $
+ * last change: $Author: oj $ $Date: 2000-10-17 08:36:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -100,6 +100,10 @@ OView::OView(sal_Bool _bCase): ODescriptor(OViewHelper::rBHelper,_bCase,sal_True
{
}
// -------------------------------------------------------------------------
+OView::~OView()
+{
+}
+// -------------------------------------------------------------------------
void OView::construct()
{
ODescriptor::construct();