diff options
Diffstat (limited to 'connectivity/source/inc/file/FStatement.hxx')
-rw-r--r-- | connectivity/source/inc/file/FStatement.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index 80b09fe5bec2..632a8da575cb 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -2,9 +2,9 @@ * * $RCSfile: FStatement.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: oj $ $Date: 2001-12-03 12:11:40 $ + * last change: $Author: oj $ $Date: 2002-07-04 06:36:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -213,6 +213,15 @@ namespace connectivity ::cppu::OBroadcastHelper& rBHelper; OStatement_Base(OConnection* _pConnection ); + 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( () ) + { } + OConnection* getOwnConnection() const { return m_pConnection;} using OStatement_BASE::operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >; |