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 31d41e8e66cf..5a749971ad3d 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -2520,7 +2520,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.