diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-02-05 16:27:53 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2020-06-04 18:37:08 +0200 |
commit | 13192264e78ba1c810b3c061893e2ad1f6b3574a (patch) | |
tree | 0794f969b148f55bd3383e399934f855c1a529e5 | |
parent | 5a7288901fad8bd833357f1672213bce8273ab3c (diff) |
tdf#45589 sw: don't paint field shading for bookmarks
Maybe it looks better without.
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88039
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit c0b7fe8281319146c4a2e36e203cfd65633ce3bd)
Change-Id: Id603fbef361574cafbe2ec9f625ac54fea27a0f6
-rw-r--r-- | sw/source/core/text/inftxt.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index bd1c45721bc1..a0b3e24c72dc 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -1297,12 +1297,7 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor, } break; case POR_BOOKMARK: - if (!GetOpt().IsPagePreview() - && !GetOpt().IsReadonly() - && GetOpt().IsViewMetaChars()) - { - bDraw = true; - } + // no shading break; case POR_INPUTFLD: // input field shading also in read-only mode |