https://bugs.documentfoundation.org/show_bug.cgi?id=146281

--- Comment #13 from Andreas Heinisch <[email protected]> ---
Like Miklos pointed out in [1] (especially on slide 4) it is not easy to solve
something "trivial" like the optionals which continue to give me headaches :)

However, in [2] we could only copy the pInfo over to the variable if there is a
missing parameter. Otherwise, the pInfo should be constructed from scratch.
Initially, I thought that pInfo will be used only for methods, and therefore
the check !dynamic_cast<const SbxMethod*>(&r) should exclude all of them, but
apparently it isn't the case. I will try to come up with a patch, but I can't
think of an automated test since the original test in tdf#136143 missed the
problem.

[1] https://people.gnome.org/~michael/data/2016-04-29-solving-problems.pdf
[2]
https://opengrok.libreoffice.org/xref/core/basic/source/sbx/sbxvar.cxx?r=47aabde0&mo=7146&fi=285#285

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to