summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2010-11-06 16:46:04 +0100
committerKurt Zenker <kz@openoffice.org>2010-11-06 16:46:04 +0100
commitea2f3cd49d7aa095e597cf5ec966dd33b77c2813 (patch)
tree8f6a4443249a61a9312433ee65ea564c3238fb46
parent31f654d334dd2a59df0cf203ebc91660f52ba104 (diff)
parent3ce1e3d5c494d5f467d43bdfe52be7b8c91eb684 (diff)
CWS-TOOLING: integrate CWS tl88ooo/OOO330_m16ooo/OOO330_m15ooo/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 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;
}