From 13b9e62d66d1d34dcc66c0f6df592a7129fa3d0a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 24 Apr 2015 16:51:36 +0200 Subject: TableRef: centralized FormulaCompiler::NeedsTableRefTransformation() ... and include OOXML until we actually write Table. Change-Id: I95fa65bd593c72af409728cea1ec599481beaaab --- sc/source/core/tool/compiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index e1e48a8d59b2..a2f83eb2160a 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -4597,7 +4597,7 @@ void ScCompiler::CreateStringFromIndex( OUStringBuffer& rBuffer, const FormulaTo break; case ocTableRef: { - if (mxSymbols->getSymbol( ocTableRefOpen).isEmpty()) + if (NeedsTableRefTransformation()) { // Write the resulting reference if TableRef is not supported. const ScTableRefToken* pTR = dynamic_cast(_pTokenP); -- cgit