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

--- Comment #7 from Jim Raykowski <[email protected]> ---
(In reply to Jim Raykowski from comment #6)
> 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

After further investigation, it seems there is something not right with
SvTreeList::GetRootLevelParent. The only place I could find it called from
is[2]. TreeListBox::GetRootLevelParent seems correct though[4].

[4]
https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/control/dbtreelistbox.cxx?r=5f6596bd#485

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

Reply via email to