diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:13:18 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:13:18 +0100 |
commit | 25af48a8840696770162f41912b0609478f5132d (patch) | |
tree | 73482b230c37953b1325c11f9148e82e1de7875d /sw/source/core/layout/pagechg.cxx | |
parent | f9585d9dc148653afee9286b00595222effe3d9c (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.cxx | 6 |
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; |