summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/sqlscan.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
commite0ae31415156d40cd66b4fe75a39a36f9fe2476e (patch)
tree365478db8a8e82facbd3188828945bc47a3fbc5e /connectivity/source/inc/sqlscan.hxx
parentd29e677019a82378e6370e27de10644eec138ca6 (diff)
#99549# insert and remove some delete and new operators
Diffstat (limited to 'connectivity/source/inc/sqlscan.hxx')
-rw-r--r--connectivity/source/inc/sqlscan.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/connectivity/source/inc/sqlscan.hxx b/connectivity/source/inc/sqlscan.hxx
index 54d1228b87..b1bbb22101 100644
--- a/connectivity/source/inc/sqlscan.hxx
+++ b/connectivity/source/inc/sqlscan.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sqlscan.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: oj $ $Date: 2001-05-30 13:37:52 $
+ * last change: $Author: oj $ $Date: 2002-07-05 07:03:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,7 +83,16 @@ namespace connectivity
public:
OSQLScanner();
- ~OSQLScanner();
+ virtual ~OSQLScanner();
+
+ 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( () )
+ { }
virtual sal_Int32 SQLyygetc(void);
virtual void SQLyyerror(char *fmt);