Resolves tdf#159328 - Fix field shading regression

Introduced by 4d7a98b582dc70bbffc78e6622969e218f108433

Change-Id: Ibcc057e47c62d53dfa9e6410230c4b231df8551c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162799
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 3d9121e..8eced32 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1426,8 +1426,8 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
                  || m_pFrame->GetTextNodeForParaProps()->HasMarkedLabel())) // #i27615#
        {
            bDraw = PortionType::Footnote != nWhich || m_pFrame->IsFootnoteAllowed();
            bDraw &= GetOpt().IsHardBlank();
        }
        bDraw &= GetOpt().IsHardBlank();
        break;
    case PortionType::Bookmark:
        // no shading