summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-06-19 11:36:27 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-06-19 12:36:01 +0200
commit726b909a5fab1f4f655128ffa81e1344368b2200 (patch)
treea5e7f75c5cb25fb832f6dbfbf1e8c3d4ea9b309b /sw/source
parent1e6dec4b4313212a3bdc6bb06155fd65e795368b (diff)
sw: convert that to assert()
Change-Id: I126c2565720770ca0fca9fef69a1690cc0bca948 Reviewed-on: https://gerrit.libreoffice.org/74345 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/tabfrm.cxx2
1 files changed, 1 insertions, 1 deletions
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() );