summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2010-11-06 16:46:04 +0100
committerKurt Zenker <kz@openoffice.org>2010-11-06 16:46:04 +0100
commite40ba92862c73f0410e1f3a3914bb0c50e2ace49 (patch)
tree98bde50c9281d26ffe0fe5d76d51a04dc28ade9f
parentc0be68452261575069d0192bfe722c8b398d9973 (diff)
parentdb9a72630bc13eeef829303db97b5107b9ad78e9 (diff)
CWS-TOOLING: integrate CWS tl88
Notes
split repo tag: writer_ooo/OOO330_m14 split repo tag: writer_ooo/OOO330_m15 split repo tag: writer_ooo/OOO330_m16
-rw-r--r--sw/source/core/doc/doc.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index dfde0fbc50e3..2378cd1d68a1 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -631,6 +631,8 @@ void SwDoc::setJobsetup(/*[in]*/ const JobSetup &rJobSetup )
SwPrintData* SwDoc::getPrintData() const
{
+ if(!pPrtData)
+ ((SwDoc*)this)->pPrtData = new SwPrintData;
return pPrtData;
}