[Libreoffice-commits] core.git: sw/source
Michael Stahl (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 19 10:36:42 UTC 2019
sw/source/core/layout/tabfrm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 726b909a5fab1f4f655128ffa81e1344368b2200
Author: Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Wed Jun 19 11:36:27 2019 +0200
Commit: Michael Stahl <Michael.Stahl at 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.Stahl at 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() );
More information about the Libreoffice-commits
mailing list