summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/bencont.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-29 00:31:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-29 09:56:08 +0100
commitde82a40f84c69081a517617989c344ec9597cb45 (patch)
tree6b9c15c67b11db681e6e8417b62efdd0a98b013a /lotuswordpro/source/filter/bencont.cxx
parent313332e76bd17c0a5a6bd67c0abc467877948a3a (diff)
callcatcher: drop various unused methods
Diffstat (limited to 'lotuswordpro/source/filter/bencont.cxx')
-rw-r--r--lotuswordpro/source/filter/bencont.cxx62
1 files changed, 0 insertions, 62 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index e074e11e4200..fc0638b3e6f5 100644
--- a/lotuswordpro/source/filter/bencont.cxx
+++ b/lotuswordpro/source/filter/bencont.cxx
@@ -141,19 +141,6 @@ LtcBenContainer::RegisterPropertyName(const char * sPropertyName,
return BenErr_OK;
}
-BenError
-LtcBenContainer::NewObject(pCBenObject * ppBenObject)
-{
- pCBenIDListElmt pPrev;
- if (FindID(&cObjects, cNextAvailObjectID, &pPrev) != NULL)
- return BenErr_DuplicateObjectID;
-
- *ppBenObject = new CBenObject(this, cNextAvailObjectID, pPrev);
-
- ++cNextAvailObjectID;
- return BenErr_OK;
-}
-
pCBenObject
LtcBenContainer::GetNextObject(pCBenObject pCurrObject)
{
@@ -378,55 +365,6 @@ BenError LtcBenContainer::CreateGraphicStream(SvStream * &pStream, const char *p
return BenErr_OK;
}
-#include <tools/globname.hxx>
-
-////////////////////////////////////////////////////////////////////
-//classs AswEntry
-AswEntry::AswEntry()
-{
- Init();
-}
-void AswEntry::Init()
-{
- memset( this, 0, sizeof (AswEntry));
-}
-void AswEntry::SetName( const String& rName )
-{
- int i;
- for( i = 0; i < rName.Len() && i < 68; i++ )
- nName[ i ] = rName.GetChar( i );
- while( i < 68 )
- nName[ i++ ] = 0;
-}
-void AswEntry::GetName(String & rName) const
-{
- rName = nName;
-}
-void AswEntry::Store( void* pTo )
-{
- SvMemoryStream r( (sal_Char *)pTo, 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.Write(&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 ) );
-}
-///////////////////////////////////////////////////////////////////
}// end namespace OpenStormBento
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */