diff options
author | Eike Rathke <erack@redhat.com> | 2014-08-21 15:41:03 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-08-21 15:43:09 +0200 |
commit | fe4d72b56319fe7820d973794fc937d79aeec64a (patch) | |
tree | 408055c525b2df601ae5e57207f7cf393629cde7 | |
parent | 60974f5643745b7714b5a8629d9c574224b67e8c (diff) |
it's about time to write GOALSEEK as ODFF ORG.OPENOFFICE.GOALSEEK
Change-Id: Ie5a0464b49baae62e217e87f4d0040151f3aa8a5
-rw-r--r-- | formula/source/core/resource/core_resource.src | 2 | ||||
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src index 6f7f8d56d020..b6816c78e587 100644 --- a/formula/source/core/resource/core_resource.src +++ b/formula/source/core/resource/core_resource.src @@ -287,7 +287,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF String SC_OPCODE_MAT_MULT { Text = "MMULT" ; }; String SC_OPCODE_MAT_TRANS { Text = "TRANSPOSE" ; }; String SC_OPCODE_MATRIX_UNIT { Text = "MUNIT" ; }; - String SC_OPCODE_BACK_SOLVER { Text = "GOALSEEK" ; }; + String SC_OPCODE_BACK_SOLVER { Text = "ORG.OPENOFFICE.GOALSEEK" ; }; String SC_OPCODE_HYP_GEOM_DIST { Text = "HYPGEOMDIST" ; }; String SC_OPCODE_HYP_GEOM_DIST_MS { Text = "COM.MICROSOFT.HYPGEOM.DIST" ; }; String SC_OPCODE_LOG_NORM_DIST { Text = "LOGNORMDIST" ; }; diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 788dd0edf4b6..93d8f1925709 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2425,8 +2425,9 @@ bool ScCompiler::IsOpCode( const OUString& rName, bool bInArray ) { "EASTERSUNDAY", ocEasterSunday }, // EASTERSUNDAY -> ORG.OPENOFFICE.EASTERSUNDAY { "ZGZ", ocZGZ }, // ZGZ -> RRI { "COLOR", ocColor }, // COLOR -> ORG.LIBREOFFICE.COLOR + { "GOALSEEK", ocBackSolver } // GOALSEEK -> ORG.OPENOFFICE.GOALSEEK // Renamed new names, prepare to read future names: - { "ORG.OPENOFFICE.GOALSEEK", ocBackSolver } // GOALSEEK -> ORG.OPENOFFICE.GOALSEEK + //{ "ORG.OPENOFFICE.XXX", ocXXX } // XXX -> ORG.OPENOFFICE.XXX }; static const size_t nOdffAliases = sizeof(aOdffAliases) / sizeof(aOdffAliases[0]); for (size_t i=0; i<nOdffAliases; ++i) |