sw_redlinehide: send a hint to the SwTextFrame when Delete redline

Desktop / LibreOffice - Michael Stahl [cib.de] - 8 June 2018 19:51 EDT

... is created or updated; there is already a SwUpdateAttr hint being sent from SwRangeRedline::InvalidateRange(), but it doesn't contain any info about the redline other than the position; add a new hint sw::RedlineDelText and send it from there in addition to the existing one.

162fb509aee3 sw_redlinehide: send a hint to the SwTextFrame when Delete redline
sw/inc/hints.hxx | 13 +++++++++++
sw/source/core/attr/hints.cxx | 9 ++++++++
sw/source/core/doc/docredln.cxx | 10 ++++++++
sw/source/core/text/txtfrm.cxx | 51 ++++++++++++++++++++++++++++++++++++-----
4 files changed, 77 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share