diff options
Diffstat (limited to 'idl/source/objects/slot.cxx')
-rw-r--r-- | idl/source/objects/slot.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 84afe2dc7ca0..023a92622118 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -485,30 +485,6 @@ bool SvMetaSlot::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) return bOk; } -void SvMetaSlot::Write( SvIdlDataBase & rBase, - SvStream & rOutStm, sal_uInt16 nTab, - WriteType nT, WriteAttribute nA ) -{ - // no attribute for Automation - if( !GetAutomation() || !GetExport() ) - return; - - if( !(nA & WA_VARIABLE) ) - { - SvMetaAttributeRef xM = GetMethod(); - if( xM.Is() ) - { - xM->SetSlotId( GetSlotId() ); - xM->SetDescription( GetDescription().getString() ); - xM->Write( rBase, rOutStm, nTab, nT, nA ); - return; - } - } - - SvMetaAttribute::Write( rBase, rOutStm, nTab, nT, nA ); -} - - void SvMetaSlot::Insert( SvSlotElementList& rList, const OString& rPrefix, SvIdlDataBase& rBase) { |