summaryrefslogtreecommitdiff
path: root/starmath/source/types.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/types.cxx')
-rw-r--r--starmath/source/types.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/starmath/source/types.cxx b/starmath/source/types.cxx
index e63d46c79e9b..185ec069b797 100644
--- a/starmath/source/types.cxx
+++ b/starmath/source/types.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -30,6 +31,7 @@
#include <types.hxx>
+#include <osl/diagnose.h>
sal_Unicode ConvertMathPrivateUseAreaToUnicode( sal_Unicode cChar )
@@ -37,7 +39,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_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;
@@ -50,3 +52,4 @@ sal_Unicode ConvertMathToMathML( sal_Unicode cChar )
return cRes;
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */