diff options
author | Joseph Powers <jpowers27@cox.net> | 2010-12-29 08:15:59 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2010-12-31 06:57:20 -0800 |
commit | 4c9bf4e47b00861b74ccc12497f925da2a5f7c41 (patch) | |
tree | b4c5d360b2b83fb9c246f0e0a76a9f3b6f7263df | |
parent | 0e5c03764b8433cc0454aaa0058eef5e1e063031 (diff) |
Remove DECLARE_LIST( SvNamePosList, SvNamePos *)
-rw-r--r-- | idl/inc/module.hxx | 2 | ||||
-rw-r--r-- | idl/source/objects/module.cxx | 43 |
2 files changed, 0 insertions, 45 deletions
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 @@ -500,28 +500,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() *************************************************************************/ void SvMetaModule::Write( SvIdlDataBase & rBase, SvStream & rOutStm, @@ -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 ); |