[email protected] <[email protected]> has asked Oliver-Rainer Wittmann
<[email protected]> for review:
Issue 125071: When saving as doc, odt file crashes and immediately recovers
https://issues.apache.org/ooo/show_bug.cgi?id=125071

Attachment 83538: check SwFmt::GetItemState()'s ppItem for NULL
https://issues.apache.org/ooo/attachment.cgi?id=83538&action=edit


------- Additional Comments from [email protected] <[email protected]>
The SwFmt::GetItemState() method shoud check its ppItem pointer argument before
assigning something into it, because NULL is the default value according to
main/sw/inc/format.hxx and thus is allowed.

The suggested patch solves the crash for both Keith's sample document and for
the autotests, but debug logging still emits warnings like "Unhandled
SfxPoolItem with id X" which hint at a deeper problem.

Reply via email to