diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-11-11 18:25:41 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-11-11 18:25:41 +0100 |
commit | 2ef9be8bfa2ee761799588ab7b73960322af08a8 (patch) | |
tree | 6c98f2533de10167f516f699d42cbe214432bc6d /sw/source | |
parent | 4dcd2f4848b22934e49134701afdb4bb33813d64 (diff) | |
parent | e40ba92862c73f0410e1f3a3914bb0c50e2ace49 (diff) |
Merge commit 'ooo/OOO330_m14' into libreoffice-3-3
Diffstat (limited to 'sw/source')
-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 610383cbca1f..4c99e793a929 100644 --- a/sw/source/core/doc/doc.cxx +++ b/sw/source/core/doc/doc.cxx @@ -643,6 +643,8 @@ void SwDoc::setJobsetup(/*[in]*/ const JobSetup &rJobSetup ) SwPrintData* SwDoc::getPrintData() const { + if(!pPrtData) + ((SwDoc*)this)->pPrtData = new SwPrintData; return pPrtData; } |