[Libreoffice-commits] core.git: sw/source

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 19 08:31:11 UTC 2020


 sw/source/core/text/frmpaint.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 06498c589f665e5e517b9e004a28d560abc4c299
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Wed Nov 18 14:05:02 2020 +0100
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Thu Nov 19 09:30:27 2020 +0100

    sw_fieldmarkhide: remove silly check in SwTextFrame::PaintExtraData()
    
    Used to be pointless, now it's wrong.
    
    Change-Id: I7eaef894afa777efdcdb5545a4d238a477dea226
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106064
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>

diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index d64cd59eda59..0127b8a04083 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -422,8 +422,7 @@ void SwTextFrame::PaintExtraData( const SwRect &rRect ) const
     }
     else
     {
-        if (!GetMergedPara() &&
-            SwRedlineTable::npos == rIDRA.GetRedlinePos(*GetTextNodeFirst(), RedlineType::Any))
+        if (SwRedlineTable::npos == rIDRA.GetRedlinePos(*GetTextNodeFirst(), RedlineType::Any))
         {
             bRedLine = false;
         }


More information about the Libreoffice-commits mailing list