summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/undel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/undel.cxx')
-rw-r--r--sw/source/core/undo/undel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index df45152781..480d9243f8 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -139,7 +139,7 @@ SwUndoDelete::SwUndoDelete( SwPaM& rPam, BOOL bFullPara, BOOL bCalledByTblCpy )
// Step 1. deletion/record of content indizes
if( bDelFullPara )
{
- ASSERT( rPam.HasMark(), "PaM ohne Mark" );
+ OSL_ENSURE( rPam.HasMark(), "PaM ohne Mark" );
DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint(),
DelCntntType(nsDelCntntType::DELCNT_ALL | nsDelCntntType::DELCNT_CHKNOCNTNT) );
@@ -892,7 +892,7 @@ void SwUndoDelete::Redo( SwUndoIter& rUndoIter )
if( bDelFullPara )
{
- ASSERT( rPam.HasMark(), "PaM ohne Mark" );
+ OSL_ENSURE( rPam.HasMark(), "PaM ohne Mark" );
DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint(),
DelCntntType(nsDelCntntType::DELCNT_ALL | nsDelCntntType::DELCNT_CHKNOCNTNT) );
@@ -908,7 +908,7 @@ void SwUndoDelete::Redo( SwUndoIter& rUndoIter )
{
if( bDelFullPara )
{
- ASSERT( rPam.HasMark(), "PaM ohne Mark" );
+ OSL_ENSURE( rPam.HasMark(), "PaM ohne Mark" );
DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint(),
DelCntntType(nsDelCntntType::DELCNT_ALL | nsDelCntntType::DELCNT_CHKNOCNTNT) );