summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/file/FConnection.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-04 05:40:21 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-04 05:40:21 +0000
commitb9ff982495d7b2feddec5f214338310edb9a4c7b (patch)
tree9f8f4851066f67f5eff7dec20ee8f7e00a3b9ba0 /connectivity/source/inc/file/FConnection.hxx
parent7305ce3cd9c36c53808b33c551bcd4d9bffb2fe4 (diff)
#99549# insert new and delete operator
Diffstat (limited to 'connectivity/source/inc/file/FConnection.hxx')
-rw-r--r--connectivity/source/inc/file/FConnection.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/connectivity/source/inc/file/FConnection.hxx b/connectivity/source/inc/file/FConnection.hxx
index 82747c9ad97e..9243446ed2ef 100644
--- a/connectivity/source/inc/file/FConnection.hxx
+++ b/connectivity/source/inc/file/FConnection.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FConnection.hxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: fs $ $Date: 2001-10-26 10:30:44 $
+ * last change: $Author: oj $ $Date: 2002-07-04 06:36:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -144,10 +144,21 @@ namespace connectivity
void throwUrlNotValid(const ::rtl::OUString & _rsUrl,const ::rtl::OUString & _rsMessage);
+
+ virtual ~OConnection();
public:
OConnection(OFileDriver* _pDriver);
- virtual ~OConnection();
+
+
+ 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( () )
+ { }
virtual void construct(const ::rtl::OUString& _rUrl,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rInfo ) throw( ::com::sun::star::sdbc::SQLException);