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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 27 18:23:49 UTC 2020


 sw/source/filter/ww8/wrtww8.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 122ce7b0907ae4705dca2f445444d812e9eeb9f1
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jun 27 15:58:02 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jun 27 20:23:11 2020 +0200

    cid#1464968 Logically dead code
    
    added in...
    
    commit 99c4fefdbb6129a58421b9c7f4a005f868a0e701
    Date:   Wed Apr 22 11:43:22 2020 +0300
    
        tdf#98409 doc export: export (non-default) cell margins
    
    Change-Id: Ie6bf4f16f73eb4d6b604e7c98ee61b388e9acd27
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97312
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index a60852f752b4..58d423d3b9a5 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -2598,9 +2598,6 @@ void WW8AttributeOutput::TableCellBorders(
             pLastBox = pBox;
         else if( !pBox || *pLastBox != *pBox )
         {
-            if ( !pLastBox )
-                break;
-
             // This cell has different borders than the previous cell,
             // so output the borders for the preceding cell range.
             m_rWW8Export.Out_CellRangeBorders(pLastBox, nSeqStart, n);


More information about the Libreoffice-commits mailing list