https://bugs.documentfoundation.org/show_bug.cgi?id=114788
--- Comment #3 from Julien Nabet <[email protected]> ---
Here's the problematic line:
814 FmFormItem* pFormItem =
dynamic_cast<FmFormItem*>(pItem->GetParent()->GetParent());
(see
https://opengrok.libreoffice.org/xref/core/svx/source/form/filtnav.cxx#814)
Gdb gives:
(gdb) p *(pItem->GetParent()->GetParent())
$4 = {<svxform::FmFilterData> = {_vptr.FmFilterData = 0x7ffff1025a20 <vtable
for svxform::FmFilterModel+16>, m_pParent = 0x0, m_aText = ""},
m_aChildren = std::__debug::vector of length 1, capacity 1 =
{0x555558bc6fe0}}
so we have here svxform::FmFilterModel
whereas
(gdb) p *(pItem->GetParent())
$7 = {<svxform::FmFilterData> = {_vptr.FmFilterData = 0x7ffff1025b98 <vtable
for svxform::FmFormItem+16>, m_pParent = 0x555559847af0, m_aText = "MainForm"},
m_aChildren = std::__debug::vector of length 1, capacity 1 =
{0x555559244cb0}}
which shows svxform::FmFormItem, the type that we want.
--
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