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

--- Comment #16 from Leyan <ouyang.le...@hotmail.com> ---
Hi Michael,

With the attached patch, I no longer get the crash I was getting initially. I
am not sure whether the original bug reporter had the exact same problem, there
may be other issues with other types of panels.

Removing the assert you mentioned is the first step, but even without it, LO
crashes when a ModifyListener calls ChartAxisPanel::updateData() while the
currently selected object is not an axis. In the updateData, the getCID()
function returns the CID of the selected object, but then ChartAxisPanel tries
to use it through isLabelShown, getAxisForCID, getAxis,
getMaximumAxisIndexByDimension and that's where an IndexOutOfBounds exception
appears, because there is no dimension information in the CID.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to