summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/db.cxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/db.cxx b/xmlhelp/source/cxxhelp/provider/db.cxx
index 86a1ad3e0ad3..ca3f63c367dd 100644
--- a/xmlhelp/source/cxxhelp/provider/db.cxx
+++ b/xmlhelp/source/cxxhelp/provider/db.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: db.cxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@@ -52,16 +52,6 @@ namespace berkeleydbproxy {
}
}
-//----------------------------------------------------------------------------
-
-int Db::set_alloc( db_malloc_fcn_type app_malloc,
- db_realloc_fcn_type app_realloc,
- db_free_fcn_type app_free)
-{
- int err = m_pDBP->set_alloc(m_pDBP,app_malloc,app_realloc,app_free);
- return db_internal::check_error(err,"Db::set_alloc");
-}
-
Db::Db()
{
db_internal::check_error( db_create(&m_pDBP,0,0),"Db::Db" );
@@ -109,15 +99,6 @@ int Db::get(DB_TXN *txnid, Dbt *key, Dbt *data, u_int32_t flags)
return err;
}
-int Db::put(DB_TXN* txnid, Dbt *key, Dbt *data, u_int32_t flags)
-{
- int err = m_pDBP->put(m_pDBP,txnid,key,data,flags);
-
- if (err != DB_KEYEXIST) // this is a non-exceptional outcome
- db_internal::check_error( err,"Db::put" );
- return err;
-}
-
int Db::cursor(DB_TXN *txnid, Dbc **cursorp, u_int32_t flags)
{
DBC * dbc = 0;