Issue 115373 - SwDoc::getPrintData refactoring
Summary: SwDoc::getPrintData refactoring
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOO330m13
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: Oliver Specht
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-03 11:42 UTC by thomas.lange
Modified: 2017-05-20 10:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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