From f565867dfdc3a320e25522122f58491ebcbd0fb5 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 1 Sep 2015 15:39:41 +0200 Subject: [PATCH] TableRef: activate structured references export to OOXML Change-Id: I737b0c28a9b337af62e1a33bbce15049a0d854a4 --- formula/source/core/api/FormulaCompiler.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index bed66336c825..4ee0f7268d82 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(