summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-05 07:09:59 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-05 07:09:59 +0000
commitfb2e925e03b0e67ad9843c714e1571b07ce24889 (patch)
tree2cf0f876c07a2ee37e4b37a43c33d79812bcf0d8 /connectivity
parent6a02139fb7afc6cd23aaff2a68b4ea1acb9bae00 (diff)
#99549# moved some dtors to protected
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/inc/dbase/DConnection.hxx8
-rw-r--r--connectivity/source/inc/dbase/DDatabaseMetaData.hxx7
-rw-r--r--connectivity/source/inc/dbase/DIndex.hxx7
-rw-r--r--connectivity/source/inc/dbase/DIndexColumns.hxx13
-rw-r--r--connectivity/source/inc/dbase/DIndexes.hxx12
5 files changed, 15 insertions, 32 deletions
diff --git a/connectivity/source/inc/dbase/DConnection.hxx b/connectivity/source/inc/dbase/DConnection.hxx
index 260e361de595..42fca1e49e83 100644
--- a/connectivity/source/inc/dbase/DConnection.hxx
+++ b/connectivity/source/inc/dbase/DConnection.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DConnection.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: fs $ $Date: 2001-06-25 16:07:09 $
+ * last change: $Author: oj $ $Date: 2002-07-05 08:09:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,10 +74,10 @@ namespace connectivity
typedef file::OConnection ODbaseConnection_Base;
class ODbaseConnection : public ODbaseConnection_Base
{
+ protected:
+ virtual ~ODbaseConnection();
public:
ODbaseConnection(ODriver* _pDriver);
- virtual ~ODbaseConnection();
-
// XServiceInfo
DECLARE_SERVICE_INFO();
diff --git a/connectivity/source/inc/dbase/DDatabaseMetaData.hxx b/connectivity/source/inc/dbase/DDatabaseMetaData.hxx
index bf0412b5428a..a2d46ebb1948 100644
--- a/connectivity/source/inc/dbase/DDatabaseMetaData.hxx
+++ b/connectivity/source/inc/dbase/DDatabaseMetaData.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DDatabaseMetaData.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2001-07-17 10:38:27 $
+ * last change: $Author: oj $ $Date: 2002-07-05 08:09:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,10 +76,11 @@ namespace connectivity
class ODbaseDatabaseMetaData : public file::ODatabaseMetaData
{
+ protected:
+ virtual ~ODbaseDatabaseMetaData();
public:
ODbaseDatabaseMetaData(file::OConnection* _pCon);
- ~ODbaseDatabaseMetaData();
virtual sal_Bool SAL_CALL isReadOnly( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
virtual ::rtl::OUString SAL_CALL getURL( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx
index 21f9bbb366e0..f8ea17e8831f 100644
--- a/connectivity/source/inc/dbase/DIndex.hxx
+++ b/connectivity/source/inc/dbase/DIndex.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DIndex.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hr $ $Date: 2001-10-17 18:18:52 $
+ * last change: $Author: oj $ $Date: 2002-07-05 08:09:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -136,12 +136,11 @@ namespace connectivity
::rtl::OUString getCompletePath();
void closeImpl();
protected:
- ~ODbaseIndex();
+ virtual ~ODbaseIndex();
public:
ODbaseIndex(ODbaseTable* _pTable);
ODbaseIndex(ODbaseTable* _pTable,const NDXHeader& _aHeader,const ::rtl::OUString& _Name);
-
sal_Bool openIndexFile();
virtual void refreshColumns();
diff --git a/connectivity/source/inc/dbase/DIndexColumns.hxx b/connectivity/source/inc/dbase/DIndexColumns.hxx
index 08786d06a94b..291419f8aec9 100644
--- a/connectivity/source/inc/dbase/DIndexColumns.hxx
+++ b/connectivity/source/inc/dbase/DIndexColumns.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DIndexColumns.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: oj $ $Date: 2002-07-04 06:36:42 $
+ * last change: $Author: oj $ $Date: 2002-07-05 08:09:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,15 +93,6 @@ namespace connectivity
, m_pIndex(_pIndex)
{}
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
- { return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t nSize,const void* _pHint ) SAL_THROW( () )
- { return const_cast<void*>(_pHint); }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
- { ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void * pMem,const void* _pHint ) SAL_THROW( () )
- { }
-
};
}
}
diff --git a/connectivity/source/inc/dbase/DIndexes.hxx b/connectivity/source/inc/dbase/DIndexes.hxx
index 9953d36568ab..cef7c05aeae7 100644
--- a/connectivity/source/inc/dbase/DIndexes.hxx
+++ b/connectivity/source/inc/dbase/DIndexes.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DIndexes.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: oj $ $Date: 2002-07-04 06:36:43 $
+ * last change: $Author: oj $ $Date: 2002-07-05 08:09:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,14 +93,6 @@ namespace connectivity
, m_pTable(_pTable)
{}
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
- { return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t nSize,const void* _pHint ) SAL_THROW( () )
- { return const_cast<void*>(_pHint); }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
- { ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void * pMem,const void* _pHint ) SAL_THROW( () )
- { }
};
}
}