summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-07-12 10:45:14 +0200
committerEike Rathke <erack@redhat.com>2013-07-12 10:50:48 +0200
commit35a230af3f2e847983174cf65c567e04212791dc (patch)
treee4fe86d3c9e8b8110fdff6850bdd49c32bc491ea /sc
parent952bc9feece3ab57014263371dd00d60bf1c75ee (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.cxx9
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)