summaryrefslogtreecommitdiff
path: root/starmath/source/types.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:11:06 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:54:59 +0100
commit81dd6062ce4f8c969d2f55659fd51035eb6eb0e8 (patch)
treeeb9dcf0ee1995c64c56b7d1fa56cf664dde0f49e /starmath/source/types.cxx
parent4f6679dec6eb8f103b3297a098fe37f71381dfae (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'starmath/source/types.cxx')
-rw-r--r--starmath/source/types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/types.cxx b/starmath/source/types.cxx
index aeb06d7eb5a9..185ec069b797 100644
--- a/starmath/source/types.cxx
+++ b/starmath/source/types.cxx
@@ -39,7 +39,7 @@ sal_Unicode ConvertMathPrivateUseAreaToUnicode( sal_Unicode cChar )
sal_Unicode cRes = cChar;
if (IsInPrivateUseArea( cChar ))
{
- OSL_ENSURE( 0, "Error: private use area characters should no longer be in use!" );
+ OSL_FAIL( "Error: private use area characters should no longer be in use!" );
cRes = (sal_Unicode) '@'; // just some character that should easily be notice as odd in the context
}
return cRes;