Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)

This commit is contained in:
Thomas Arnhold
2011-03-19 14:06:18 +01:00
parent 00d5ba291e
commit 352f1a58e2
68 changed files with 214 additions and 214 deletions

View File

@@ -176,7 +176,7 @@ namespace frm
StateCache::const_iterator aCachedStatePos = m_aLastKnownStates.find( _nAttributeId );
if ( aCachedStatePos == m_aLastKnownStates.end() )
{
OSL_ENSURE( sal_False, "RichTextControlImpl::getAttributeState: Don't ask for the state of an attribute which I never encountered!" );
OSL_FAIL( "RichTextControlImpl::getAttributeState: Don't ask for the state of an attribute which I never encountered!" );
return AttributeState( eIndetermined );
}
return aCachedStatePos->second;