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

--- Comment #10 from Armin Le Grand <[email protected]> ---
ALG: Tried to avoid calling ExportSelection in PDFExport::Export when no pages
are to be exported (there is already an if(nPageCount)). This does not work
since in PDFExport::ExportSelection in the rRenderable->render call which
triggers SwXTextDocument::render the SwRenderData is deleted early at the end.
When *not* calling ExportSelection this cleanup is not done and the
SwRenderData stays until the writer doc is closed. At that time it *will*
access data which is long gone (that exists only during PDF export).
That cleanup has to be done in PDFExport::Export after the ExportSelection
calls at xRenderable, not in the xRenderable implementation (which is a writer
document), but how...?

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

Reply via email to