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/FPreparedStatement.hxx | |
parent | 7305ce3cd9c36c53808b33c551bcd4d9bffb2fe4 (diff) |
#99549# insert new and delete operator
Diffstat (limited to 'connectivity/source/inc/file/FPreparedStatement.hxx')
-rw-r--r-- | connectivity/source/inc/file/FPreparedStatement.hxx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/connectivity/source/inc/file/FPreparedStatement.hxx b/connectivity/source/inc/file/FPreparedStatement.hxx index 5c7275f99e5b..dcf9aa8f5fd9 100644 --- a/connectivity/source/inc/file/FPreparedStatement.hxx +++ b/connectivity/source/inc/file/FPreparedStatement.hxx @@ -2,9 +2,9 @@ * * $RCSfile: FPreparedStatement.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: fs $ $Date: 2002-01-16 08:46:01 $ + * last change: $Author: oj $ $Date: 2002-07-04 06:36:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -124,11 +124,22 @@ namespace connectivity virtual void parseParamterElem(const String& _sColumnName,OSQLParseNode* pRow_Value_Constructor_Elem); virtual void initializeResultSet(OResultSet* _pResult); + + virtual ~OPreparedStatement(); public: DECLARE_SERVICE_INFO(); // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird: OPreparedStatement( OConnection* _pConnection); - ~OPreparedStatement(); + + + 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& sql) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); |