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

New commits:
commit 726b909a5fab1f4f655128ffa81e1344368b2200
Author:     Michael Stahl <michael.st...@cib.de>
AuthorDate: Wed Jun 19 11:36:27 2019 +0200
Commit:     Michael Stahl <michael.st...@cib.de>
CommitDate: Wed Jun 19 12:36:01 2019 +0200

    sw: convert that to assert()
    
    Change-Id: I126c2565720770ca0fca9fef69a1690cc0bca948
    Reviewed-on: https://gerrit.libreoffice.org/74345
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@cib.de>

diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 4f9e0880ff50..4863b4134723 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -438,7 +438,7 @@ static void lcl_MoveRowContent( SwRowFrame& rSourceLine, 
SwRowFrame& rDestLine )
                     while ( pTmpDestRow->GetNext() )
                         pTmpDestRow = 
static_cast<SwRowFrame*>(pTmpDestRow->GetNext());
 
-                    OSL_ENSURE( pTmpDestRow->GetFollowRow() == pTmpSourceRow, 
"Table contains node" );
+                    assert(pTmpDestRow->GetFollowRow() == pTmpSourceRow);
 
                     lcl_MoveRowContent( *pTmpSourceRow, *pTmpDestRow );
                     pTmpDestRow->SetFollowRow( pTmpSourceRow->GetFollowRow() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to