Kaydet (Commit) cef57942 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Removed ExcRecordList; nobody uses it.

üst 2cfb1725
......@@ -176,25 +176,6 @@ sal_Size ExcEmptyRec::GetLen() const
return 0;
}
//------------------------------------------------------- class ExcRecordList -
ExcRecordList::~ExcRecordList()
{
for (iterator pIter = maRecords.begin(); pIter != maRecords.end(); ++pIter)
delete (*pIter);
}
void ExcRecordList::Save( XclExpStream& rStrm )
{
for (iterator pIter = maRecords.begin(); pIter != maRecords.end(); ++pIter)
(*pIter)->Save( rStrm );
}
//--------------------------------------------------------- class ExcDummyRec -
void ExcDummyRec::Save( XclExpStream& rStrm )
......@@ -208,8 +189,6 @@ sal_uInt16 ExcDummyRec::GetNum( void ) const
return 0x0000;
}
//------------------------------------------------------- class ExcBoolRecord -
void ExcBoolRecord::SaveCont( XclExpStream& rStrm )
......
......@@ -97,26 +97,6 @@ public:
virtual sal_Size GetLen() const;
};
//------------------------------------------------------- class ExcRecordList -
class ExcRecordList : public ExcEmptyRec
{
private:
std::vector<ExcRecord*> maRecords;
public:
typedef std::vector<ExcRecord*>::iterator iterator;
virtual ~ExcRecordList();
inline void Append( ExcRecord* pNew ) { if( pNew ) maRecords.push_back( pNew ); }
virtual void Save( XclExpStream& rStrm );
};
//--------------------------------------------------------- class ExcDummyRec -
class ExcDummyRec : public ExcRecord
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment