diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-07-04 05:40:21 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-07-04 05:40:21 +0000 |
commit | b9ff982495d7b2feddec5f214338310edb9a4c7b (patch) | |
tree | 9f8f4851066f67f5eff7dec20ee8f7e00a3b9ba0 /connectivity/source/inc/file/FConnection.hxx | |
parent | 7305ce3cd9c36c53808b33c551bcd4d9bffb2fe4 (diff) |
#99549# insert new and delete operator
Diffstat (limited to 'connectivity/source/inc/file/FConnection.hxx')
-rw-r--r-- | connectivity/source/inc/file/FConnection.hxx | 17 |
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); |