summaryrefslogtreecommitdiff
path: root/sw/source/core/swg/swblocks.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/swg/swblocks.cxx')
-rw-r--r--sw/source/core/swg/swblocks.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 564d9775b3..4415c3bae3 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -522,7 +522,7 @@ USHORT SwTextBlocks::Rename( USHORT n, const String* s, const String* l )
aLong = *l;
if( !aNew.Len() )
{
- ASSERT( !this, "Kein Kurzname in Rename angegeben" );
+ OSL_ENSURE( !this, "Kein Kurzname in Rename angegeben" );
nErr = ERR_SWG_INTERNAL_ERROR; return (USHORT) -1;
}
@@ -756,7 +756,7 @@ BOOL SwTextBlocks::IsOnlyTextBlock( const String& rShort ) const
return IsOnlyTextBlock( nIdx );
}
- ASSERT( !this, "ungueltiger Name" );
+ OSL_ENSURE( !this, "ungueltiger Name" );
return FALSE;
}