diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-11-09 14:49:47 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-11-09 14:49:47 +0100 |
commit | cc64c92439979c9261bf6373abcf5d58f91f955c (patch) | |
tree | ccaba5dc83ce85656dec29352aca1f4a92b739f4 | |
parent | 55046b9eadc7d0af117381c2675abdf47fdd2ffe (diff) | |
parent | e40ba92862c73f0410e1f3a3914bb0c50e2ace49 (diff) |
#i10000# changes from OOO330 m14
-rw-r--r-- | sw/source/core/doc/doc.cxx | 2 |
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; } |