https://bugs.documentfoundation.org/show_bug.cgi?id=146244

--- Comment #5 from László Németh <[email protected]> ---
tdf#146244 sw: update HasTextChangesOnly in modified rows

It's not forbidden to write in rows deleted or
inserted with change tracking, also Accept/Reject
only part of the text changes here. Improve to
handle these in SwTableLine::UpdateTextChangesOnly()
by keeping property HasTextChangesOnly = false
(tracked row change) only if

1) there is an insert redline, which is the oldest redline in
   the row (tracked row insertion) or

2) there is a delete redline, which is the newest redline in
   the row, and no text outside of redlines, and no insert
   redline in the row, i.e. whole text content is deleted
   (tracked row deletion).

Also update HasTextChangesOnly table row property at accepting
SwRangeRedlines in changed table rows.

And follow-up bug fix commits of this:
commit bc206f7fd3b4a9e843c81f39dcd2faeeff9c785a
"cid#1495785 silence Unchecked return value" and
commit 213173edc5e47bb6da11f9a301f4dca71854a48c
"sw: fix crash with commit 8c028b7e41e3d350d0e67005b16faf0159cc5c12".

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to