diff options
author | Justin Luth <justin.luth@collabora.com> | 2021-02-22 09:17:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-03-03 13:38:44 +0100 |
commit | 01a640ce6f2072e72bcea86695a7ab7cc96a13b6 (patch) | |
tree | b8b25bba95f6e31a9c68269c2c472fe7cca32cf4 /sax | |
parent | b90a67838e189f3aee6a50724c78c0a50d416970 (diff) |
tdf#114799 Char highlight: skip convert if highlight exists
Don't create two w:highlight entries. This can easily
occur on the endParagraph properties when the user
has replaced the background color. A "none" highlight
is added, the charShadingMarker is removed, and a new
background color is added. So the new background tries
to export as a highlight, even though the none-highlight
overrides it.
This depends on this bug's earlier commit, which added the
context so that HasItem can even find the highlight.
Change-Id: Ibfd6a3b9b94bdeb1fd9ec46fbb71ec825b09a680
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111297
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions