summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/pagechg.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:13:18 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:13:18 +0100
commit25af48a8840696770162f41912b0609478f5132d (patch)
tree73482b230c37953b1325c11f9148e82e1de7875d /sw/source/core/layout/pagechg.cxx
parentf9585d9dc148653afee9286b00595222effe3d9c (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'sw/source/core/layout/pagechg.cxx')
-rw-r--r--sw/source/core/layout/pagechg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 29c51dff0725..a7b07bc8f3f1 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -429,7 +429,7 @@ void MA_FASTCALL lcl_MakeObjs( const SwSpzFrmFmts &rTbl, SwPageFrm *pPage )
pSdrObj = 0;
if ( bSdrObj && 0 == (pSdrObj = pFmt->FindSdrObject()) )
{
- OSL_ENSURE( sal_False, "DrawObject not found." );
+ OSL_FAIL( "DrawObject not found." );
pFmt->GetDoc()->DelFrmFmt( pFmt );
--i;
continue;
@@ -1183,7 +1183,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, sal_Bool bNotifyFields )
#if OSL_DEBUG_LEVEL > 1
else
{
- OSL_ENSURE( sal_False, "CheckPageDescs, missing solution" );
+ OSL_FAIL( "CheckPageDescs, missing solution" );
}
#endif
}
@@ -1236,7 +1236,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, sal_Bool bNotifyFields )
{
if ( bEmpty )
{
- OSL_ENSURE( sal_False, "Doppelte Leerseiten." );
+ OSL_FAIL( "Doppelte Leerseiten." );
break; //Einmal reicht.
}
bEmpty = sal_True;