From 403784edfedcaf57fea131be04f66cd0f2277f24 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Aug 2011 21:18:00 +0100 Subject: definition and use inside same debug level --- starmath/inc/parse.hxx | 2 +- starmath/source/parse.cxx | 2 +- 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 -- cgit v1.2.3