diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx index b44e39e1f2b3..601abdbb8286 100644 --- a/sc/source/core/tool/parclass.cxx +++ b/sc/source/core/tool/parclass.cxx @@ -226,7 +226,7 @@ void ScParameterClassification::Init() else { RunData* pRun = &pData[ pRaw->eOp ]; -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 if ( pRun->aData.nParam[0] != Unknown ) { OSL_TRACE( "already assigned: %d", pRaw->eOp); diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 3b5e9a45f2a4..f92612897a3f 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -347,7 +347,7 @@ ScRawToken* ScRawToken::Clone() const FormulaToken* ScRawToken::CreateToken() const { -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 #define IF_NOT_OPCODE_ERROR(o,c) if (eOp!=o) OSL_TRACE( #c "::ctor: OpCode %d lost, converted to " #o "; maybe inherit from FormulaToken instead!", int(eOp)) #else #define IF_NOT_OPCODE_ERROR(o,c)