https://bugs.documentfoundation.org/show_bug.cgi?id=140061
--- Comment #21 from Patrick Luby (volunteer) <[email protected]> --- (In reply to Miklos Vajna from comment #20) > In SwDoc::~SwDoc(), sw/source/core/doc/docnew.cxx:523 tries to not listen to > char formats anymore in the endnote config, and only > sw/source/core/doc/docnew.cxx:596 deletes the char format table, so that > looks like the right order in general. Is it possible that > mpEndNoteInfo->EndListeningAll() should clear the endnote info's anchor > format pointer, but it does not? Or something along those lines. AFAICT, mpEndNoteInfo->EndListeningAll() never gets called before the crash which makes sense to me as the end note should still be alive since it is held by a transferable object. I would think that SwDoc::DelCharFormat() needs to notify SwEndNoteInfo since the SwEndNoteInfo's anchor format pointer is no longer in SwDoc after the undo but it is still needed for the transferable. Then maybe the SwEndNoteInfo can make it own copy of the anchor format instance before deletion? -- You are receiving this mail because: You are the assignee for the bug.
