Move #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 1 for OSL_TRACE
This commit is contained in:
parent
997939f813
commit
36971a269f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue