diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-09-23 17:38:33 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-09-25 12:13:56 +0200 |
commit | d173599d0b4667d44aa31991ccb917b1d141412e (patch) | |
tree | eea4661be75de6a2a23f8e4edb7626b09e67384e /svgio/source | |
parent | 006bd82d49b17db99a6a4175359d2cfcaf1e5283 (diff) |
tdf#127652 sw_redlinehide: don't set invalid SwTextFrame offsets
The obvious problem here is that if a deletion spans multiple text
frames, the offset of the 2nd one must not be reduced lower than the
start position of the deletion; apparently this fixes the subsequent
crashes with stale text portions having now invalid indexes into the
string.
(regression from 0acde7514e666fc04805fd36503bd174162336ca)
Change-Id: Iaf9e2c5ca06ed36dc0e8611891d19c22f7661d34
Reviewed-on: https://gerrit.libreoffice.org/79421
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit 9ec2c77046901fdacca77753052b54c81e6bc82c)
Reviewed-on: https://gerrit.libreoffice.org/79433
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/source')
0 files changed, 0 insertions, 0 deletions