diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-11-03 14:59:06 +0100 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-11-03 14:59:06 +0100 |
commit | db9a72630bc13eeef829303db97b5107b9ad78e9 (patch) | |
tree | 98bde50c9281d26ffe0fe5d76d51a04dc28ade9f /sw | |
parent | c0be68452261575069d0192bfe722c8b398d9973 (diff) |
cws tl88: #i115354# crash when opening File/Print dialog fixed
Diffstat (limited to 'sw')
-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 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; } |