summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-06-12 14:17:20 +0200
committerMichael Stahl <michael.stahl@cib.de>2020-06-12 15:49:30 +0200
commite1629c210ad78310e3d48c0756723134a27b89df (patch)
treef99d93700b511ba0663b645bae740639f1f6378d /javaunohelper
parent80eb0eb25158147c18621072849b6684faa2b5c3 (diff)
tdf#131912 sw: fix spell check correct deleting flys
* SwEditShell::ApplyChangedSentence() should not call DeleteAndJoin() + InsertString() but ReplaceRange() * ReplaceRange() and SwUndoReplace need to set a new flag DelContentType::Replace to tell SwUndoSaveContent::DelContentIndex() not to delete flys but instead record the previous anchor positions * SwUndoReplace::UndoImpl() should also not call DeleteAndJoin() + InsertString(); instead call ReplaceRange() for the start node and then DeleteAndJoin() for any regex "\n" that were inserted (regression from 28b77c89dfcafae82cf2a6d85731b643ff9290e5) Change-Id: I485d79510ae233213cb4b208533871934c5e5ec6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96201 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'javaunohelper')
0 files changed, 0 insertions, 0 deletions