diff options
author | Eike Rathke <erack@redhat.com> | 2015-04-24 16:51:36 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-04-24 17:04:47 +0200 |
commit | 13b9e62d66d1d34dcc66c0f6df592a7129fa3d0a (patch) | |
tree | 46e28d0d20d927ee01a13d4e462a18114d932b17 /sc/source/core | |
parent | 9a8d327e023d59ad02378edf4cb9ccf2478fcdf5 (diff) |
TableRef: centralized FormulaCompiler::NeedsTableRefTransformation()
... and include OOXML until we actually write Table.
Change-Id: I95fa65bd593c72af409728cea1ec599481beaaab
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<const ScTableRefToken*>(_pTokenP); |