sw_redlinehide: make SwScanner independent of SwTextNode

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

Abstract out the GetLang function into a parameter.

SwScanner also uses a ModelToViewHelper but at this place it's used in "pass-through" mode which does an identity mapping.

d2c01fdb5ef8 sw_redlinehide: make SwScanner independent of SwTextNode
sw/inc/swscanner.hxx | 10 +++++++++-
sw/source/core/text/porlay.cxx | 19 ++++++++++++++++---
sw/source/core/txtnode/txtedt.cxx | 18 +++++++++++++++---
3 files changed, 40 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share