[PATCH] Change in core[libreoffice-3-6]: rhbz#689053: fix crash following delete at last table cell:

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Wed Sep 19 12:25:03 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/652

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/52/652/1

rhbz#689053: fix crash following delete at last table cell:

The IsSelOvr() in SwCrsrShell::Combine() detects that the PaM with mark
in the last table cell and point ouside the table is invalid, but
unfortunatley restores the wrong position, which does not actually
correct the PaM; the deletion on the invalid PaM then removes the
last SwTxtNode in the document, which leads to crash later.

(cherry picked from commit af4b6c94c68b5f67b931cde8d0acda6ec8b288bb)

Conflicts:
	sw/source/core/crsr/crsrsh.cxx

Change-Id: Ib2ae0b54e6c15dbe5b6811d8696531bf2022e1a4
---
M sw/source/core/crsr/crsrsh.cxx
1 file changed, 8 insertions(+), 7 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2ae0b54e6c15dbe5b6811d8696531bf2022e1a4
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