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.