Since checking redlines for every node is probably inefficient, the SwNode should cache if it's merged by delete redlines and hence if a layout that hides redlines should create frames for it.
c9c668d76dc0 sw_redlinehide: add merge state flag to SwNode
sw/inc/node.hxx | 11 +++++++++++
sw/source/core/docnode/node.cxx | 2 ++
2 files changed, 13 insertions(+)