Move #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 1 for OSL_TRACE

This commit is contained in:
Thomas Arnhold 2011-03-07 11:34:54 +01:00
parent 997939f813
commit 36971a269f
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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)