summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-24 15:22:01 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-24 15:22:01 +0000
commit7f89b533632d2ae8f04c6a781801cf917eacfb2e (patch)
treea7fa1df54e50e9fb573e5b2c6d6d98928e2a923b /xmlhelp
parente6fded50a99c69b2e9f8b1459a1956132efe906e (diff)
INTEGRATION: CWS ab52 (1.7.6); FILE MERGED
2008/06/18 09:23:23 ab 1.7.6.1: #i90029# Removed unused code
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;