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

Eike Rathke erack at redhat.com
Tue Sep 1 06:42:39 PDT 2015


 formula/source/core/api/FormulaCompiler.cxx |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit f565867dfdc3a320e25522122f58491ebcbd0fb5
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Sep 1 15:39:41 2015 +0200

    TableRef: activate structured references export to OOXML
    
    Change-Id: I737b0c28a9b337af62e1a33bbce15049a0d854a4

diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index bed6633..4ee0f72 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1994,14 +1994,11 @@ void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rS
 
 bool FormulaCompiler::NeedsTableRefTransformation() const
 {
-    /* TODO: currently only UI representations use Table structured
-     * references. Not defined in ODFF, and not implemented yet for OOXML
-     * export. Change this once OOXML export is implemented, until then write
-     * A1 style references also for OOXML to not lose functionality. */
+    // Currently only UI representations and OOXML export use Table structured
+    // references. Not defined in ODFF.
     // Unnecessary to explicitly check for ODFF grammar as the ocTableRefOpen
     // symbol is not defined there.
-    return mxSymbols->getSymbol( ocTableRefOpen).isEmpty() || FormulaGrammar::isPODF( meGrammar)
-        || FormulaGrammar::isOOXML( meGrammar);
+    return mxSymbols->getSymbol( ocTableRefOpen).isEmpty() || FormulaGrammar::isPODF( meGrammar);
 }
 
 void FormulaCompiler::UpdateSeparatorsNative(


More information about the Libreoffice-commits mailing list