https://bugs.documentfoundation.org/show_bug.cgi?id=85371
--- Comment #9 from [email protected] --- Just a guess: As I pointed out in tdf#57308, SbMethod is silently added to refParams at index 0. This method basically has the flag SbxFlagBits::Read only, so we cannot write to this variable. https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=889dc7bf#502 However, if the variable is used in a function(pMeth) with the same name as the variable, the variable will be given a SbxFlagBits::Write. https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=889dc7bf#1651 and the flag will be restored later in StepPUT. On the other hand if the variable is used in StepINITFOR,StepNext https://opengrok.libreoffice.org/xref/core/basic/source/comp/loops.cxx?r=ab9b67bb#238 https://opengrok.libreoffice.org/xref/core/basic/source/inc/opcodes.hxx?r=abe5a1a5#28 https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=889dc7bf#763 https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=889dc7bf#StepINITFOR https://opengrok.libreoffice.org/xref/core/basic/source/runtime/runtime.cxx?r=889dc7bf#2546 SbxFlagBits::Write is not set to this variable. I guess this is the cause. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
