summaryrefslogtreecommitdiff
path: root/starmath
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
commitdceee406b75fb040822e50a335e4c4a121313c73 (patch)
treedd2785ed433a150e0e3af6ac5da6543cab27b285 /starmath
parent83e01d8438e229e6d7c5e2ccac1cf4b5571d47ac (diff)
definition and use inside same debug level
Diffstat (limited to 'starmath')
-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 7b1319d43bba..43c09921f76a 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 bd6e250f9fea..06859cec4a6b 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