summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
committerMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
commit4798d3562cef044b988a5977bedcb8dd7e91ed9f (patch)
treeaddabb2c3c1676dda6269b68ac8260373abf4b0c /formula/inc
parent45e531f9b63a2b97006c7b407ed4486c8c1b42f9 (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/formula/opcode.hxx2
-rw-r--r--formula/inc/formula/token.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/formula/inc/formula/opcode.hxx b/formula/inc/formula/opcode.hxx
index 906d408b8b..4616f24fd7 100644
--- a/formula/inc/formula/opcode.hxx
+++ b/formula/inc/formula/opcode.hxx
@@ -401,7 +401,7 @@ enum OpCodeEnum
ocNone = SC_OPCODE_NONE
};
-#ifdef PRODUCT
+#ifndef DBG_UTIL
// save memory since compilers tend to int an enum
typedef USHORT OpCode;
#else
diff --git a/formula/inc/formula/token.hxx b/formula/inc/formula/token.hxx
index aae43cc561..313ef1b8c4 100644
--- a/formula/inc/formula/token.hxx
+++ b/formula/inc/formula/token.hxx
@@ -79,7 +79,7 @@ enum StackVarEnum
svUnknown // unknown StackType
};
-#ifdef PRODUCT
+#ifndef DBG_UTIL
// save memory since compilers tend to int an enum
typedef BYTE StackVar;
#else