diff options
Diffstat (limited to 'sc/source/filter/excel/xlformula.cxx')
-rw-r--r-- | sc/source/filter/excel/xlformula.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx index 5b320853c042..80098bc79ab6 100644 --- a/sc/source/filter/excel/xlformula.cxx +++ b/sc/source/filter/excel/xlformula.cxx @@ -275,7 +275,7 @@ static const XclFunctionInfo saFuncTable_4[] = { ocFInv, 282, 3, 3, V, { VR }, 0, 0 }, { ocFisher, 283, 1, 1, V, { VR }, 0, 0 }, { ocFisherInv, 284, 1, 1, V, { VR }, 0, 0 }, - { ocFloor, 285, 2, 2, V, { VR, VR, C }, 0, 0 }, + { ocFloor_MS, 285, 2, 2, V, { VR }, 0, 0 }, { ocGammaDist, 286, 4, 4, V, { VR }, 0, 0 }, { ocGammaInv, 287, 3, 3, V, { VR }, 0, 0 }, { ocCeil_MS, 288, 2, 2, V, { VR }, 0, 0 }, @@ -487,7 +487,7 @@ static const XclFunctionInfo saFuncTable_2010[] = EXC_FUNCENTRY_V_VR( ocNegBinomDist_MS, 4, 4, 0, "NEGBINOM.DIST" ), EXC_FUNCENTRY_V_VR( ocZTest_MS, 2, 3, 0, "Z.TEST" ), EXC_FUNCENTRY_V_VR( ocCeil_Precise, 2, 2, 0, "CEILING.PRECISE" ), - EXC_FUNCENTRY_V_VR( ocFloor_MS, 2, 2, 0, "FLOOR.PRECISE" ), + EXC_FUNCENTRY_V_VR( ocFloor_Precise, 2, 2, 0, "FLOOR.PRECISE" ), EXC_FUNCENTRY_V_VR( ocErf_MS, 1, 1, 0, "ERF.PRECISE" ), EXC_FUNCENTRY_V_VR( ocErfc_MS, 1, 1, 0, "ERFC.PRECISE" ), EXC_FUNCENTRY_V_RX( ocAggregate, 3, MX, 0, "AGGREGATE" ), @@ -536,9 +536,7 @@ static const XclFunctionInfo saFuncTable_2013[] = // NOTE: this FINV is not our LEGACY.FINV EXC_FUNCENTRY_V_VR( ocNoName, 3, 3, 0, "FINV" ), EXC_FUNCENTRY_V_VR( ocFilterXML, 2, 2, 0, "FILTERXML" ), - /* FIXME: FLOOR.MATH is our/ODFF FLOOR, but we have special handling for - * the weird Excel FLOOR behavior, check that and unify or diversify. */ - EXC_FUNCENTRY_V_VR( ocNoName, 1, 3, 0, "FLOOR.MATH" ), + EXC_FUNCENTRY_V_VR( ocFloor_Math, 1, 3, 0, "FLOOR.MATH" ), EXC_FUNCENTRY_V_RO( ocFormula, 1, 1, 0, "FORMULATEXT" ), EXC_FUNCENTRY_V_VR( ocGamma, 1, 1, 0, "GAMMA" ), EXC_FUNCENTRY_V_VR( ocGauss, 1, 1, 0, "GAUSS" ), |