summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-21 13:06:20 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-21 13:06:20 +0100
commit27681d609137cc1c8b8957ada9b2b54061311cec (patch)
tree5ba638ac64185b48565ed5b13903d26b0bbd3d92 /formula/source
parent7be5d3d1c15e3476c0ec50a644f3852c0db1e579 (diff)
removetooltypes01: #i112600# Fix build problems on non-pro
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 09edeb6f781e..81378bf8ae0c 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -490,7 +490,7 @@ uno::Sequence< sheet::FormulaOpCodeMapEntry > FormulaCompiler::OpCodeMap::create
void FormulaCompiler::OpCodeMap::putOpCode( const String & rStr, const OpCode eOp )
{
- DBG_ASSERT( 0 < eOp && USHORT(eOp) < mnSymbols, "OpCodeMap::putOpCode: OpCode out of range");
+ DBG_ASSERT( 0 < eOp && sal_uInt16(eOp) < mnSymbols, "OpCodeMap::putOpCode: OpCode out of range");
if (0 < eOp && sal_uInt16(eOp) < mnSymbols)
{
DBG_ASSERT( (mpTable[eOp].Len() == 0) || (mpTable[eOp] == rStr) || (eOp == ocCurrency),