https://bugs.documentfoundation.org/show_bug.cgi?id=140061
--- Comment #26 from Patrick Luby (volunteer) <[email protected]> --- (In reply to Patrick Luby (volunteer) from comment #25) > I'll try wrapping those pointers in rtl::Reference<SwCharFormat>. If that > proves infeasible, I will try moving deletion of those pointers to the > ~SwDoc(). I have submitted a fix for this bug in the following patch. I gave up on using shared pointers and, instead, went for the simpler approach of keeping the SwCharFormat instances alive until the SwDoc is cleared or deleted. I also replaced the assert() with a warning in the HTML export code so both pasting as RTF and HTML don't crash: https://gerrit.libreoffice.org/c/core/+/171608 Not sure if this is a good patch or not so I'll leave it to developers more familiar with the Writer code to review and approve/reject it. -- You are receiving this mail because: You are the assignee for the bug.
