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

--- Comment #25 from Patrick Luby (volunteer) <[email protected]> ---
(In reply to Patrick Luby (volunteer) from comment #24)
> Created attachment 195742 [details]
> Backtrace in lldb where assert fails when pasting in HTML format

I found that the crash when pasting in HTML format is probably a separate bug:
an assert fails in the HTML export code and removing the assert stops that
crash.

So back to the original pasting in RTF format bug. While I am still unsure
which SwDoc instance owns the SwEndNoteInfo's anchor format pointer, I think
that might be able to avoid delving into the SwDoc and writerfilter code and
fix the bug my just delaying the deletion of any anchor format pointers created
by SwDoc.

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().

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to