diff options
author | Eike Rathke <erack@redhat.com> | 2013-07-12 10:45:14 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-07-12 10:50:48 +0200 |
commit | 35a230af3f2e847983174cf65c567e04212791dc (patch) | |
tree | e4fe86d3c9e8b8110fdff6850bdd49c32bc491ea /sc | |
parent | 952bc9feece3ab57014263371dd00d60bf1c75ee (diff) |
prepare to read backsolver's OOo ODFF namespaced function name
Change-Id: Ieff6955c54125483eeac25f87ab334d91e37968f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 6b5a59c5e876..ca104245b3f7 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2461,14 +2461,13 @@ bool ScCompiler::IsOpCode( const String& rName, bool bInArray ) OpCode eOp; }; static const FunctionName aOdffAliases[] = { - // Renamed old names: + // Renamed old names, still accept them: { "B", ocB }, // B -> BINOM.DIST.RANGE { "TDIST", ocTDist }, // TDIST -> LEGACY.TDIST { "EASTERSUNDAY", ocEasterSunday }, // EASTERSUNDAY -> ORG.OPENOFFICE.EASTERSUNDAY - { "ZGZ", ocZGZ } // ZGZ -> RRI - // Renamed new names: - // XXX none currently. Example: - //{ "ORG.OPENOFFICE.EASTERSUNDAY", ocEasterSunday } + { "ZGZ", ocZGZ }, // ZGZ -> RRI + // Renamed new names, prepare to read future names: + { "ORG.OPENOFFICE.GOALSEEK", ocBackSolver } // GOALSEEK -> ORG.OPENOFFICE.GOALSEEK }; static const size_t nOdffAliases = sizeof(aOdffAliases) / sizeof(aOdffAliases[0]); for (size_t i=0; i<nOdffAliases; ++i) |