Issue 115373

Summary: SwDoc::getPrintData refactoring
Product: Writer Reporter: thomas.lange
Component: codeAssignee: Oliver Specht <os_ooo>
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOO330m13   
Target Milestone: 3.4.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description thomas.lange 2010-11-03 11:42:27 UTC
This is a follow-up to issue 115354.
The function SwDoc::getPrintData should create the SwPrintData if not already
done and return a reference to that instead of a pointer. Also currently there
is code in sw that creates the SwPrintData manually if it is not provided, those
code parts can then be removed as well.
Comment 1 thomas.lange 2010-11-03 11:42:57 UTC
.
Comment 2 thomas.lange 2010-11-26 09:52:33 UTC
Fixed in CWS tl84.

Files changed:
M inc\IDocumentDeviceAccess.hxx
M inc\doc.hxx
M source\core\doc\doc.cxx
M source\core\view\pagepreviewlayout.cxx
M source\ui\app\appopt.cxx
M source\ui\envelp\mailmrge.cxx
M source\ui\uiview\viewprt.cxx
M source\ui\uno\SwXDocumentSettings.cxx
M source\ui\uno\unomailmerge.cxx
M source\ui\uno\unomod.cxx
M source\ui\uno\unotxdoc.cxx
A inc\prtopt.hxx
R source\ui\inc\prtopt.hxx
Comment 3 thomas.lange 2010-12-10 09:45:53 UTC
TL->OS: Please verify. Thanks!
Comment 4 Oliver Specht 2010-12-10 11:05:52 UTC
verified