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

--- Comment #6 from Jim Raykowski <[email protected]> ---
(In reply to Mike Kaganski from comment #5)
> Interesting, why the styles list behaves as expected - does it duplicate the
> code?
Yes, very interesting. It seems the styles list uses nullptr as the parent for
all entries[1] which makes[2] work as expected because of[3].

[1]
https://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/StyleList.cxx?r=ef862ba4#949
[2]
https://opengrok.libreoffice.org/xref/core/vcl/source/treelist/svimpbox.cxx?r=5f9cd841#2393
[3]
https://opengrok.libreoffice.org/xref/core/vcl/source/treelist/treelist.cxx?r=6e2bd112&mo=29042&fi=1020#1020

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

Reply via email to