[PATCH] Change in core[libreoffice-3-6]: rhbz#827695: sw: prevent crashes after incomplete print:

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Wed Sep 26 04:04:31 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/699

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/99/699/1

rhbz#827695: sw: prevent crashes after incomplete print:

If the last page is not printed for whatever reason, then
SwXTextDocument's destructor will delete a SwViewOptionAdjust_Impl,
which accesses the document's ViewShell, which has already been
deleted at that point.  Add a horrible kludge to not crash for now.

Change-Id: I67fe37970d60782030b84f2badddd1e66ef3f9c6
(cherry picked from commit d53e12c7a9c2d0a3b487303673c1fafd09f6593c)
---
M sw/inc/printdata.hxx
M sw/inc/unotxdoc.hxx
M sw/source/core/view/printdata.cxx
M sw/source/ui/uno/unotxdoc.cxx
4 files changed, 27 insertions(+), 11 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/699
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67fe37970d60782030b84f2badddd1e66ef3f9c6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>



More information about the LibreOffice mailing list