diff options
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/object.hxx | 2 | ||||
-rw-r--r-- | idl/source/objects/object.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx index 4c26597f7608..d6c39055973a 100644 --- a/idl/inc/object.hxx +++ b/idl/inc/object.hxx @@ -64,7 +64,7 @@ private: static sal_uInt16 WriteSlotParamArray( SvIdlDataBase & rBase, SvSlotElementList & rSlotList, SvStream & rOutStm ); - static sal_uInt16 WriteSlots( const OString& rShellName, sal_uInt16 nCount, + static sal_uInt16 WriteSlots( const OString& rShellName, SvSlotElementList & rSlotList, SvIdlDataBase & rBase, SvStream & rOutStm ); diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index bc64658800b1..efa7f17bef5b 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -150,7 +150,7 @@ sal_uInt16 SvMetaClass::WriteSlotParamArray( SvIdlDataBase & rBase, } sal_uInt16 SvMetaClass::WriteSlots( const OString& rShellName, - sal_uInt16 nCount, SvSlotElementList & rSlotList, + SvSlotElementList & rSlotList, SvIdlDataBase & rBase, SvStream & rOutStm ) { @@ -158,7 +158,7 @@ sal_uInt16 SvMetaClass::WriteSlots( const OString& rShellName, for ( size_t i = 0, n = rSlotList.size(); i < n; ++i ) { SvMetaSlot * pAttr = rSlotList[ i ]; - nSCount = nSCount + pAttr->WriteSlotMap( rShellName, nCount + nSCount, + nSCount = nSCount + pAttr->WriteSlotMap( rShellName, nSCount, rSlotList, i, rBase, rOutStm ); } @@ -320,7 +320,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) rOutStm.WriteChar( '{' ) << endl; // write all attributes - WriteSlots( GetName(), 0, aSlotList, rBase, rOutStm ); + WriteSlots( GetName(), aSlotList, rBase, rOutStm ); if( nSlotCount ) Back2Delimiter( rOutStm ); else |