sw/source/core/layout/tabfrm.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0d37975ae718e1baa312616dfbbd71496e077a49
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Thu Apr 11 16:37:12 2024 +0200
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Mon Apr 29 20:20:47 2024 +0200

    sw: workaround crash in IsAllHiddenRow()
    
    Not sure why but somehow still crashes in the code added in commit
    ab7893544dc6be6dc192dffefd57cd5ddd421c35
    
    
https://crashreport.libreoffice.org/stats/crash_details/912e7417-5e04-4279-bbaf-380234f4cd33
    
    Change-Id: I23b7ecdd83009cfe6584866ed72102d8f2179f86
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166010
    Tested-by: Michael Stahl <michael.st...@allotropia.de>
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    (cherry picked from commit 44ff9907eb1f2851b3b9087e7ec5e5dfae5a00c6)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165940
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    (cherry picked from commit 13e517aa5baa1ce9afefd84ff41496c1adeb5367)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166092
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index fe3a5232356e..adffbba17715 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -1523,7 +1523,8 @@ namespace
                 }
             }
         }
-        if (rTab.IsCollapsingBorders() && !rCell.Lower()->IsRowFrame())
+        assert(rCell.Lower());
+        if (rTab.IsCollapsingBorders() && rCell.Lower() && 
!rCell.Lower()->IsRowFrame())
         {
             if (rRow.GetTopMarginForLowers() != 0
                 || rRow.GetBottomMarginForLowers() != 0)

Reply via email to