summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/inc/parse.hxx2
-rw-r--r--starmath/source/parse.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 8f6c6129f3..1d9c4b8295 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -217,7 +217,7 @@ class SmParser
SmParser & operator = (const SmParser &);
protected:
-#if OSL_DEBUG_LEVEL
+#if OSL_DEBUG_LEVEL > 1
bool IsDelimiter( const String &rTxt, xub_StrLen nPos );
#endif
void NextToken();
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 2a678d0ff5..9a7dc6630f 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -333,7 +333,7 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const String &rName )
///////////////////////////////////////////////////////////////////////////
-#if OSL_DEBUG_LEVEL
+#if OSL_DEBUG_LEVEL > 1
bool SmParser::IsDelimiter( const String &rTxt, xub_StrLen nPos )
// returns 'true' iff cChar is '\0' or a delimeter