Remove DECLARE_LIST( SvNamePosList, SvNamePos *)

This commit is contained in:
Joseph Powers 2010-12-29 08:15:59 -08:00
parent 0e5c03764b
commit 4c9bf4e47b
2 changed files with 0 additions and 45 deletions

View file

@ -40,7 +40,6 @@ struct SvNamePos
: aUUId( rName )
, nStmPos( nPos ) {}
};
DECLARE_LIST( SvNamePosList, SvNamePos *)
/******************** class SvMetaModule *********************************/
class SvMetaModule : public SvMetaExtern
@ -97,7 +96,6 @@ public:
virtual void WriteAttributes( SvIdlDataBase & rBase,
SvStream & rOutStm, USHORT nTab,
WriteType, WriteAttribute = 0 );
// virtual void WriteSbx( SvIdlDataBase & rBase, SvStream & rOutStm, SvNamePosList & rList );
virtual void Write( SvIdlDataBase & rBase, SvStream & rOutStm, USHORT nTab,
WriteType, WriteAttribute = 0 );
virtual void WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm );

View file

@ -499,28 +499,6 @@ void SvMetaModule::WriteAttributes( SvIdlDataBase & rBase,
}
}
/*************************************************************************
|* SvMetaModule::WriteSbx()
*************************************************************************/
/*
void SvMetaModule::WriteSbx( SvIdlDataBase & rBase, SvStream & rOutStm,
SvNamePosList & rList )
{
for( ULONG n = 0; n < aClassList.Count(); n++ )
{
SvMetaClass * pClass = aClassList.GetObject( n );
if( !pClass->IsShell() && pClass->GetAutomation() )
{
rList.Insert( new SvNamePos( pClass->GetUUId(), rOutStm.Tell() ),
LIST_APPEND );
SbxObjectRef xSbxObj = new SbxObject( pClass->GetName() );
pClass->FillSbxObject( rBase, xSbxObj );
xSbxObj->Store( rOutStm );
}
}
}
*/
/*************************************************************************
|* SvMetaModule::Write()
*************************************************************************/
@ -546,27 +524,6 @@ void SvMetaModule::Write( SvIdlDataBase & rBase, SvStream & rOutStm,
WriteTab( rOutStm, nTab );
rOutStm << "importlib(\"STDOLE.TLB\");" << endl;
/*
for( ULONG n = 0; n < aTypeList.Count(); n++ )
{
SvMetaType * pType = aTypeList.GetObject( n );
if( !pType ->Write( rBase, rOutStm, nTab +1, nT, nA ) )
return FALSE;
}
*/
/*
for( ULONG n = 0; n < rBase.GetModuleList().Count(); n++ )
{
SvMetaModule * pModule = rBase.GetModuleList().GetObject( n );
const SvMetaTypeMemberList &rTypeList = pModule->GetTypeList();
for( ULONG n = 0; n < rTypeList.Count(); n++ )
{
SvMetaType * pType = rTypeList.GetObject( n );
pType->Write( rBase, rOutStm, nTab +1, nT, nA );
}
}
*/
for( ULONG n = 0; n < aClassList.Count(); n++ )
{
SvMetaClass * pClass = aClassList.GetObject( n );