summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/TSkipDeletedSet.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-05 06:03:03 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-05 06:03:03 +0000
commit344cadbb555b10be5fd9567aec582f63b9a12350 (patch)
treeaa1c4c4ec07d331e58cc6d9286154b9b1af9da22 /connectivity/source/inc/TSkipDeletedSet.hxx
parent77a70f877c5c52fb7f7ec741e3b099f7582576d3 (diff)
#99549# insert and remove some delete and new operators
Diffstat (limited to 'connectivity/source/inc/TSkipDeletedSet.hxx')
-rw-r--r--connectivity/source/inc/TSkipDeletedSet.hxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/connectivity/source/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx
index aa11333fe147..0edcd2639a40 100644
--- a/connectivity/source/inc/TSkipDeletedSet.hxx
+++ b/connectivity/source/inc/TSkipDeletedSet.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TSkipDeletedSet.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2001-11-29 16:33:10 $
+ * last change: $Author: oj $ $Date: 2002-07-05 07:03:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,9 @@
#include "TResultSetHelper.hxx"
#endif
+#ifndef _RTL_ALLOC_H_
+#include <rtl/alloc.h>
+#endif
#include <map>
#include <vector>
@@ -84,6 +87,15 @@ namespace connectivity
public:
OSkipDeletedSet(IResultSetHelper* _pHelper);
+ 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,void* _pHint ) SAL_THROW( () )
+ { return _pHint; }
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ { ::rtl_freeMemory( pMem ); }
+ inline static void SAL_CALL operator delete( void * pMem,void* _pHint ) SAL_THROW( () )
+ { }
+
/**
skipDeleted moves the resultset to the position defined by the parameters
it garantees that the row isn't deleted