[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Fri Jul 12 01:51:10 PDT 2013


 sc/source/core/tool/compiler.cxx |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 35a230af3f2e847983174cf65c567e04212791dc
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Jul 12 10:45:14 2013 +0200

    prepare to read backsolver's OOo ODFF namespaced function name
    
    Change-Id: Ieff6955c54125483eeac25f87ab334d91e37968f

diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 6b5a59c..ca10424 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)


More information about the Libreoffice-commits mailing list