diff options
Diffstat (limited to 'lotuswordpro/source/filter/bencont.cxx')
-rw-r--r-- | lotuswordpro/source/filter/bencont.cxx | 62 |
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: */ |