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 | 3ce1e3d5c494d5f467d43bdfe52be7b8c91eb684 (patch) | |
tree | 8f6a4443249a61a9312433ee65ea564c3238fb46 | |
parent | 31f654d334dd2a59df0cf203ebc91660f52ba104 (diff) |
cws tl88: #i115354# crash when opening File/Print dialog fixed
-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 a470440968..4cd360128c 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; } |