summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/token.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 99cf86f266ba..260b0dd9414c 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -380,11 +380,7 @@ bool ScRawToken::IsValidReference() const
FormulaToken* ScRawToken::CreateToken() const
{
-#if OSL_DEBUG_LEVEL > 0
-#define IF_NOT_OPCODE_ERROR(o,c) if (eOp!=o) SAL_INFO( "sc.core", #c "::ctor: OpCode " << (int)eOp << " lost, converted to " #o "; maybe inherit from FormulaToken instead!")
-#else
-#define IF_NOT_OPCODE_ERROR(o,c)
-#endif
+#define IF_NOT_OPCODE_ERROR(o,c) SAL_INFO_IF((eOp!=o), "sc.core", #c "::ctor: OpCode " << (int)eOp << " lost, converted to " #o "; maybe inherit from FormulaToken instead!")
switch ( GetType() )
{
case svByte :