https://issues.apache.org/ooo/show_bug.cgi?id=125071

[email protected] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83538|                            |review?([email protected])
              Flags|                            |

--- Comment #3 from [email protected] <[email protected]> ---
Created attachment 83538
  --> https://issues.apache.org/ooo/attachment.cgi?id=83538&action=edit
check SwFmt::GetItemState()'s ppItem for NULL

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.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to