summaryrefslogtreecommitdiff
path: root/starmath/source/types.cxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2010-10-07 11:02:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-07 11:05:26 +0100
commit05830ca7adb00846bdcc8171d622930061e3fd2b (patch)
tree909b7b8e435c895cffb5a73014d4577cbaaeae36 /starmath/source/types.cxx
parentf97008a9538d3fcfb789bedff3a5deee05bcfbae (diff)
replace DBG_ASSERT with OSL equivalents
Diffstat (limited to 'starmath/source/types.cxx')
-rw-r--r--starmath/source/types.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/types.cxx b/starmath/source/types.cxx
index e63d46c79e9b..a227b31ec417 100644
--- a/starmath/source/types.cxx
+++ b/starmath/source/types.cxx
@@ -30,6 +30,7 @@
#include <types.hxx>
+#include <osl/diagnose.h>
sal_Unicode ConvertMathPrivateUseAreaToUnicode( sal_Unicode cChar )
@@ -37,7 +38,7 @@ sal_Unicode ConvertMathPrivateUseAreaToUnicode( sal_Unicode cChar )
sal_Unicode cRes = cChar;
if (IsInPrivateUseArea( cChar ))
{
- DBG_ASSERT( 0, "Error: private use area characters should no longer be in use!" );
+ OSL_ENSURE( 0, "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;