summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-07-27 21:00:17 +0200
committerMichael Stahl <mstahl@redhat.com>2017-07-27 22:08:07 +0200
commitdb7f2cbe7d9713ab65e64fd1093b9fae6e334782 (patch)
tree8580dc19fefc38ed0113ed30f5c9beb4d5e8d9ed /sw
parent5989c5722a9ce424803d8fb7858ad98c10d0601d (diff)
sw: convert to assert
Change-Id: I96f91105d32b18c29bd82eedcf2f93c54ad5f229
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/calcmove.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index f0f34c5a15b2..94cf9bc6dcac 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -1274,7 +1274,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/)
// flowing back and forth.
GetUpper()->ResetCompletePaint();
// The predecessor was invalidated, so this is obsolete as well now.
- OSL_ENSURE( pPre, "missing old Prev" );
+ assert(pPre);
if ((pPre == pMoveBwdPre && isMoveBwdPreValid) && !pPre->IsSctFrame())
::ValidateSz( pPre );
}