summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 6ae4f4af62cc..ca4bf4a49601 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -2519,7 +2519,7 @@ bool ScCompiler::IsOpCode( const OUString& rName, bool bInArray )
// unassigned for import.
eOp = ocCeil_Math;
}
- else if (eOp == ocCeil && mxSymbols->isOOXML())
+ else if (eOp == ocFloor && mxSymbols->isOOXML())
{
// Ensure that _xlfn.FLOOR.MATH maps to ocFloor_Math. ocFloor is
// unassigned for import.