sc/source/core/tool/token.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit efdbb9791a75a5b2e5de34855bec8407e8c8f53a
Author: Jochen Nitschke <j.nitschke+loger...@ok.de>
Date:   Fri Apr 28 16:34:00 2017 +0200

    replace 'if ( ) SAL_INFO' with 'SAL_INFO_IF'
    
    Change-Id: If45b57a3dc6d7ed088fde8835e14abe4bf7378f8
    Reviewed-on: https://gerrit.libreoffice.org/37554
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Eike Rathke <er...@redhat.com>

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 :
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to