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

--- Comment #19 from Oliver-Rainer Wittmann <[email protected]> ---
(In reply to Armin Le Grand from comment #11)
> ALG: The cleanup has to be done; thus calling render in some way is even
> necessary when nothing is to be rendered. To trigger this, somehow in the
> render call information has to be given for this special operation. There
> are various alternatives to do that, checked with giving a special value as
> nRenderer and reacting on it in the render implementation
> (SwXTextDocument::render) by doing the needed cleanup. This works (I will
> add example patch), but is a hack itself. To change the writer
> implementation to work more clean if getRendererCount is used but render is
> not is not an alternative, too complex to do.
> There is another alternative; try to watch for the ViewShell which is
> deleted already and causes the crash to be deleted and do the cleanup there.
> CHecking this...

XRenderable is also used for printing and the printing already passed a certain
option - namely <bLastPage> - the last <render(..)> call to trigger the clean
up. Such a <render(..)> call is also made in the printing routines when no
regular <render(..)> is made.

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

Reply via email to