Bug 75016

Summary: WinSal*Printer mishandles creation and destruction and causes sideeffects in OuputDevice::ImplGetGraphics/ImplReleaseGraphics
Product: LibreOffice Reporter: Chris Sherlock <chris.sherlock79>
Component: LibreofficeAssignee: Chris Sherlock <chris.sherlock79>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: medium    
Version: Inherited From OOo   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Chris Sherlock 2014-02-15 10:47:45 UTC
This is a followup issue to #133991# and then later lodged in AOO's bugtracker as bug 63756, where an old implementation problem caused really bad side effects. The problem is that a WinSal*Printer handles the creation & destruction of WinSalGraphics differently than the OutputDevice's ImplGetGraphics/ImplReleaseGraphics expect.

Unfortunately Printer::mpGraphics often points to a dead WinSalGraphics, this causes major problems in the functions.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.