diff options
author | László Németh <nemeth@numbertext.org> | 2020-11-02 20:22:55 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-11-03 07:50:54 +0100 |
commit | 72ec44bc294dd814c0ba8657337b6b2646382b02 (patch) | |
tree | e8b6a6c0c9a23156fd8ed8c5b16db4d15608dcfd /include | |
parent | 4ed24dd436b77454b64cd22ae0b0ded2f990f1cb (diff) |
tdf#105967 sw change tracking: fix line break symbol in empty line
At line break symbol of inserted or deleted empty lines,
paint strikeout/underline based on redline color. Keep also
the underline and strikeout formattings of the line break symbol
in neutral color (NON_PRINTING_CHARACTER_COLOR), if they are not
affected by change tracking.
Note: in non empty lines, remove also the colored (not
NON_PRINTING_CHARACTER_COLOR) underline/strikeout,
if it's not based on redlining, fixing the double
colored lines on the neutral color line break symbol.
Follow-up of db25f1e2e3ae7a078f8f3c080ff3c4802f83b853
(tdf#105967 sw change tracking: fix pilcrow in empty line).
Change-Id: I565a10154f5ecbefeb00fe3e17a53f74f2f84e63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105206
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/ctredlin.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 1b4dac85319b..4dd80bafd709 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -59,6 +59,7 @@ enum class RedlineType : sal_uInt16 TableRowDelete = 0x7,// Table row has been deleted. TableCellInsert = 0x8,// Table cell has been inserted. TableCellDelete = 0x9,// Table cell has been deleted. + None = USHRT_MAX - 1, // special value to indicate missing redlining in some return value Any = USHRT_MAX // special value to indicate any redline type in some method calls }; |