diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2010-10-07 11:02:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 11:05:26 +0100 |
commit | 05830ca7adb00846bdcc8171d622930061e3fd2b (patch) | |
tree | 909b7b8e435c895cffb5a73014d4577cbaaeae36 /starmath/source/types.cxx | |
parent | f97008a9538d3fcfb789bedff3a5deee05bcfbae (diff) |
replace DBG_ASSERT with OSL equivalents
Diffstat (limited to 'starmath/source/types.cxx')
-rw-r--r-- | starmath/source/types.cxx | 3 |
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; |