To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115354


User tl changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from t...@openoffice.org Wed Nov  3 09:20:55 +0000 
2010 -------
TL: crash occurs because when loading the report setPrintData was not called
thus getPrintData return a NULL pointer.
I discussed this with OS and adding the following two lines to
SwDoc::getPrintData in sw/source/core/doc/doc.cxx will solve the problem:

SwPrintData* SwDoc::getPrintData() const
{
+    if (!pPrtData)
+        ((SwDoc*)this)->pPrtData = new SwPrintData;
    return pPrtData;
}



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to