[PATCH] Change in core[libreoffice-3-6]: fdo#58142: fix frame selection in SwPageFrm::GetCrsrOfst:

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Thu Dec 13 03:41:10 PST 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1314

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/14/1314/1

fdo#58142: fix frame selection in SwPageFrm::GetCrsrOfst:

The function does not handle the case where a paragraph was hit but no
background frame was hit properly, which may or may not (depending on
the platform) cause it to return a position of a frame when that is
undesirable, such as when called from SwWrtShell::UnSelectFrm().

When UnselectFrm() leaves a frame selected pasting multiple pictures
leads to a crash.

(regression from e8fbe97900f13305b17015d9044993bde4adab36)

Change-Id: I3604825f654c523a37f47a9fc660647d8b3e7077
(cherry picked from commit 2fc4af311656e7d019ca802d23444e5161f820ee)
---
M sw/source/core/layout/trvlfrm.cxx
1 file changed, 8 insertions(+), 6 deletions(-)


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

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