summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-24 15:19:31 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-24 15:19:31 +0000
commit743564c7d5e9b6df61680cf0e01a64925a2a253e (patch)
treec80afb47507335a80cfc9db0dd628c825b9c1ad7 /xmlhelp
parent1a0a0cc61adf46e90bfb83a7a82be8d9e3ec36ab (diff)
INTEGRATION: CWS ab52 (1.6.6); FILE MERGED
2008/06/18 09:19:39 ab 1.6.6.1: #i90029# Removed unused code
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/db/Block.cxx23
1 files changed, 2 insertions, 21 deletions
diff --git a/xmlhelp/source/cxxhelp/db/Block.cxx b/xmlhelp/source/cxxhelp/db/Block.cxx
index ae18676058..d263851b0c 100644
--- a/xmlhelp/source/cxxhelp/db/Block.cxx
+++ b/xmlhelp/source/cxxhelp/db/Block.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Block.cxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -84,30 +84,11 @@ void Block::read( util::RandomAccessStream* in )
}
-void Block::write( util::RandomAccessStream* out ) const
-{
- out->writeBytes( (sal_Int8*)(&num_),4 );
- sal_Int32 twoFields = ( free_ | ( isLeaf_ ? 0x80000000 : 0 ) );
- out->writeBytes( (sal_Int8*)(&twoFields),4 );
- out->writeBytes( data_,dbenv_->getDataLen() );
-}
-
-
-void Block::setInteger( sal_Int32 i,sal_Int32 value ) throw( excep::IllegalIndexException )
-{
- if( i < 0 || dbenv_->getDataLen() <= i )
- throw excep::IllegalIndexException(
- rtl::OUString::createFromAscii( "Block::setInteger -> index out of range" ) );
-
- ::setInteger_( &data_[i],value );
-}
-
-
sal_Int32 Block::getInteger( sal_Int32 i ) const throw( excep::IllegalIndexException )
{
if( i < 0 || dbenv_->getDataLen() <= i )
throw excep::IllegalIndexException(
- rtl::OUString::createFromAscii( "Block::setInteger -> index out of range" ) );
+ rtl::OUString::createFromAscii( "Block::getInteger -> index out of range" ) );
sal_Int32 ret = ::getInteger_( &data_[i] );
return ret;