diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx index fb9cff7e3b74..1bea395d41be 100644 --- a/idl/inc/module.hxx +++ b/idl/inc/module.hxx @@ -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 ); diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx index f0051a1bf02c..383db12408d5 100644 --- a/idl/source/objects/module.cxx +++ b/idl/source/objects/module.cxx @@ -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 );