diff options
author | Mathias Bauer <mba@openoffice.org> | 2009-07-10 14:03:42 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2009-07-10 14:03:42 +0200 |
commit | 94c78bed2887089fdfb0c36f5b68b9c98bfd5a72 (patch) | |
tree | 796e065334b8beb17a44f9022108d3d4314d1556 /formula | |
parent | 25c459e8b631e6e1ca8357e806560bf7b7d3b2d4 (diff) |
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'formula')
-rw-r--r-- | formula/inc/formula/opcode.hxx | 2 | ||||
-rw-r--r-- | formula/inc/formula/token.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/formula/inc/formula/opcode.hxx b/formula/inc/formula/opcode.hxx index 4346fc80112e..e93368e59f57 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 d2b4c9989a84..a930442ee4f1 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 |