summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-04 21:18:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-05 10:04:04 +0100
commit403784edfedcaf57fea131be04f66cd0f2277f24 (patch)
treec7ab3ef66af0d5369c9da38b3943a05ede890886
parent74aa2f593e2d2c3ba129e7cd730f2ee977375063 (diff)
definition and use inside same debug level
-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