diff options
Diffstat (limited to 'idl/source/objects')
-rw-r--r-- | idl/source/objects/module.cxx | 4 | ||||
-rw-r--r-- | idl/source/objects/object.cxx | 4 | ||||
-rw-r--r-- | idl/source/objects/slot.cxx | 10 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx index c261d4c76dd3..02a7cc7546d5 100644 --- a/idl/source/objects/module.cxx +++ b/idl/source/objects/module.cxx @@ -385,12 +385,12 @@ void SvMetaModule::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) } void SvMetaModule::WriteHelpIds( SvIdlDataBase & rBase, SvStream & rOutStm, - Table* pTable ) + HelpIdTable& rTable ) { for( sal_uLong n = 0; n < aClassList.Count(); n++ ) { SvMetaClass * pClass = aClassList.GetObject( n ); - pClass->WriteHelpIds( rBase, rOutStm, pTable ); + pClass->WriteHelpIds( rBase, rOutStm, rTable ); } } diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index b95b0a031b54..2ed6d1d2a618 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -652,12 +652,12 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) } void SvMetaClass::WriteHelpIds( SvIdlDataBase & rBase, SvStream & rOutStm, - Table* pTable ) + HelpIdTable& rTable ) { for( sal_uLong n=0; n<aAttrList.Count(); n++ ) { SvMetaAttribute * pAttr = aAttrList.GetObject( n ); - pAttr->WriteHelpId( rBase, rOutStm, pTable ); + pAttr->WriteHelpId( rBase, rOutStm, rTable ); } } diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index f180719786a5..bec2e795baf6 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -1496,12 +1496,12 @@ sal_uInt16 SvMetaSlot::WriteSlotMap( const rtl::OString& rShellName, sal_uInt16 } void SvMetaSlot::WriteHelpId( SvIdlDataBase & rBase, SvStream & rOutStm, - Table * pTable ) + HelpIdTable& rTable ) { sal_uLong nSId = GetSlotId().GetValue(); - if( !pTable->IsKeyValid( nSId ) ) + if( rTable.find( nSId ) == rTable.end() ) { - pTable->Insert( nSId, this ); + rTable[ nSId ] = this; rOutStm << "#define " << GetSlotId().getString().getStr() << '\t' << rtl::OString::valueOf(static_cast<sal_Int32>(nSId)).getStr() << endl; @@ -1533,9 +1533,9 @@ void SvMetaSlot::WriteHelpId( SvIdlDataBase & rBase, SvStream & rOutStm, } // if id not found, write always - if( !bIdOk || !pTable->IsKeyValid( nSId2 ) ) + if( !bIdOk || rTable.find( nSId2 ) == rTable.end() ) { - pTable->Insert( nSId2, this ); + rTable[ nSId2 ] = this; rOutStm << "#define " << aSId.getStr() << '\t' << rtl::OString::valueOf( diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 9eaf1973854f..4e0313a774df 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -740,7 +740,7 @@ void SvMetaAttribute::Insert (SvSlotElementList&, const rtl::OString&, SvIdlData { } -void SvMetaAttribute::WriteHelpId( SvIdlDataBase &, SvStream &, Table * ) +void SvMetaAttribute::WriteHelpId( SvIdlDataBase &, SvStream &, HelpIdTable& ) { } |