diff options
-rw-r--r-- | formula/source/core/resource/core_resource.src | 6 | ||||
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src index aab02c63c9e0..12cb57d01bb8 100644 --- a/formula/source/core/resource/core_resource.src +++ b/formula/source/core/resource/core_resource.src @@ -192,7 +192,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF String SC_OPCODE_ST_DEV_A { Text = "STDEVA" ; }; String SC_OPCODE_ST_DEV_P { Text = "STDEVP" ; }; String SC_OPCODE_ST_DEV_P_A { Text = "STDEVPA" ; }; - String SC_OPCODE_B { Text = "B" ; }; + String SC_OPCODE_B { Text = "BINOM.DIST.RANGE" ; }; String SC_OPCODE_NORM_DIST { Text = "NORMDIST" ; }; String SC_OPCODE_EXP_DIST { Text = "EXPONDIST" ; }; String SC_OPCODE_BINOM_DIST { Text = "BINOMDIST" ; }; @@ -273,7 +273,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF String SC_OPCODE_BACK_SOLVER { Text = "GOALSEEK" ; }; String SC_OPCODE_HYP_GEOM_DIST { Text = "HYPGEOMDIST" ; }; String SC_OPCODE_LOG_NORM_DIST { Text = "LOGNORMDIST" ; }; - String SC_OPCODE_T_DIST { Text = "TDIST" ; }; + String SC_OPCODE_T_DIST { Text = "LEGACY.TDIST" ; }; String SC_OPCODE_F_DIST { Text = "LEGACY.FDIST" ; }; String SC_OPCODE_CHI_DIST { Text = "LEGACY.CHIDIST" ; }; String SC_OPCODE_WEIBULL { Text = "WEIBULL" ; }; @@ -325,7 +325,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF String SC_OPCODE_BETA_DIST { Text = "BETADIST" ; }; String SC_OPCODE_BETA_INV { Text = "BETAINV" ; }; String SC_OPCODE_WEEK { Text = "ISOWEEKNUM" ; }; - String SC_OPCODE_EASTERSUNDAY { Text = "EASTERSUNDAY" ; }; + String SC_OPCODE_EASTERSUNDAY { Text = "ORG.OPENOFFICE.EASTERSUNDAY" ; }; String SC_OPCODE_GET_DAY_OF_WEEK { Text = "WEEKDAY" ; }; String SC_OPCODE_NO_NAME { Text = "#NAME!" ; }; String SC_OPCODE_STYLE { Text = "ORG.OPENOFFICE.STYLE" ; }; diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 3ca041ac36a1..66d807f86f70 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2478,11 +2478,12 @@ bool ScCompiler::IsOpCode( const String& rName, bool bInArray ) }; static const FunctionName aOdffAliases[] = { // Renamed old names: - // XXX none yet. + { "B", ocB }, // B -> BINOM.DIST.RANGE + { "TDIST", ocTDist }, // TDIST -> LEGACY.TDIST + { "EASTERSUNDAY", ocEasterSunday } // EASTERSUNDAY -> ORG.OPENOFFICE.EASTERSUNDAY // Renamed new names: - { "BINOM.DIST.RANGE", ocB }, // B -> BINOM.DIST.RANGE - { "LEGACY.TDIST", ocTDist }, // TDIST -> LEGACY.TDIST - { "ORG.OPENOFFICE.EASTERSUNDAY", ocEasterSunday } // EASTERSUNDAY -> ORG.OPENOFFICE.EASTERSUNDAY + // XXX none currently. Example: + //{ "ORG.OPENOFFICE.EASTERSUNDAY", ocEasterSunday } }; static const size_t nOdffAliases = SAL_N_ELEMENTS(aOdffAliases); for (size_t i=0; i<nOdffAliases; ++i) |