diff options
Diffstat (limited to 'sw/source/core/access/textmarkuphelper.cxx')
-rw-r--r-- | sw/source/core/access/textmarkuphelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/textmarkuphelper.cxx b/sw/source/core/access/textmarkuphelper.cxx index c62a2981e6..e49054879a 100644 --- a/sw/source/core/access/textmarkuphelper.cxx +++ b/sw/source/core/access/textmarkuphelper.cxx @@ -162,7 +162,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp } else { - ASSERT( false, + OSL_ENSURE( false, "<SwTextMarkupHelper::getTextMarkup(..)> - missing <SwWrongArea> instance" ); } } @@ -204,7 +204,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp { const SwWrongArea* pTextMarkup = pTextMarkupList->GetElement( static_cast<USHORT>(nTextMarkupIdx) ); - ASSERT( pTextMarkup, + OSL_ENSURE( pTextMarkup, "<SwTextMarkupHelper::getTextMarkup(..)> - missing <SwWrongArea> instance" ); if ( pTextMarkup && pTextMarkup->mnPos <= nCoreCharIndex && |