diff options
Diffstat (limited to 'connectivity/source/inc/file/FDriver.hxx')
-rw-r--r-- | connectivity/source/inc/file/FDriver.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/connectivity/source/inc/file/FDriver.hxx b/connectivity/source/inc/file/FDriver.hxx index 1e8632b004dd..8b215f114f58 100644 --- a/connectivity/source/inc/file/FDriver.hxx +++ b/connectivity/source/inc/file/FDriver.hxx @@ -2,9 +2,9 @@ * * $RCSfile: FDriver.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: oj $ $Date: 2001-05-18 08:31:17 $ + * last change: $Author: oj $ $Date: 2002-07-04 06:36:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,6 +98,14 @@ namespace connectivity public: OFileDriver(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory); + 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( () ) + { } // OComponentHelper virtual void SAL_CALL disposing(void); // XInterface |