summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-11-09 14:49:47 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-11-09 14:49:47 +0100
commitcc64c92439979c9261bf6373abcf5d58f91f955c (patch)
treeccaba5dc83ce85656dec29352aca1f4a92b739f4
parent55046b9eadc7d0af117381c2675abdf47fdd2ffe (diff)
parente40ba92862c73f0410e1f3a3914bb0c50e2ace49 (diff)
#i10000# changes from OOO330 m14
-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 25cc034119c5..68b390ae42b1 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -630,6 +630,8 @@ void SwDoc::setJobsetup(/*[in]*/ const JobSetup &rJobSetup )
SwPrintData* SwDoc::getPrintData() const
{
+ if(!pPrtData)
+ ((SwDoc*)this)->pPrtData = new SwPrintData;
return pPrtData;
}