summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-11 10:52:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-11 11:10:40 +0100
commit555fdbc6e9e04f8d4b7786c8b1a1faa5dd64a694 (patch)
tree4a3291b0f766cbb0212a48db6826420692e0d02a /lotuswordpro
parentc32e596e2457847afdac7b3162b19ad052d4da7c (diff)
callcatcher: unused code
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/bencont.cxx20
-rw-r--r--lotuswordpro/source/filter/bento.hxx1
2 files changed, 0 insertions, 21 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index 320444de819b..6a68f2c6f6e0 100644
--- a/lotuswordpro/source/filter/bencont.cxx
+++ b/lotuswordpro/source/filter/bencont.cxx
@@ -497,26 +497,6 @@ void AswEntry::Store( void* pTo )
<< nReserved[ 0 ] // 74 starting block (either direct or translated)
<< nReserved[ 1 ]; // 78 file size
}
-void AswEntry::Load( const void* pFrom )
-{
- SvMemoryStream r( (sal_Char *)pFrom, ASWENTRY_SIZE, STREAM_WRITE );
- for( short i = 0; i < 68; i++ )
- r >> nName[ i ]; // 00 name as WCHAR
- r>> nMtime[ 0 ] // 42 entry type
- >> nMtime[ 1 ] // 43 0 or 1 (tree balance?)
- >> nCtime[ 0 ] // 44 left node entry
- >> nCtime[ 1 ] // 48 right node entry
- >> nAtime[ 0 ] // 44 left node entry
- >> nAtime[ 1 ]; // 48 right node entry
- r.Read(&aClsId,16); // 50 class ID (optional)
- r>> nStatebits // 60 state flags(?)
- >> nType
- >> nObjectIDRef // 64 modification time
- >> nMversion // 6C creation and access time
- >> nLversion // 6C creation and access time
- >> nReserved[ 0 ] // 74 starting block (either direct or translated)
- >> nReserved[ 1 ]; // 78 file size
-}
void AswEntry::SetClassId( const ClsId& r )
{
memcpy( &aClsId, &r, sizeof( ClsId ) );
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx
index fb2f5be8cb64..c870f0d3a9bb 100644
--- a/lotuswordpro/source/filter/bento.hxx
+++ b/lotuswordpro/source/filter/bento.hxx
@@ -111,7 +111,6 @@ public:
void Init(); // initialize the data
void SetName( const String& ); // store a name (ASCII, up to 32 chars)
void GetName( String& rName ) const;
- void Load( const void* );
void Store( void* );
sal_uInt32 GetType() const { return nType; }
void SetType( sal_uInt32 t ) { nType = t;}