summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-04-24 16:51:36 +0200
committerEike Rathke <erack@redhat.com>2015-04-24 17:04:47 +0200
commit13b9e62d66d1d34dcc66c0f6df592a7129fa3d0a (patch)
tree46e28d0d20d927ee01a13d4e462a18114d932b17 /sc/source/core/tool/compiler.cxx
parent9a8d327e023d59ad02378edf4cb9ccf2478fcdf5 (diff)
TableRef: centralized FormulaCompiler::NeedsTableRefTransformation()
... and include OOXML until we actually write Table. Change-Id: I95fa65bd593c72af409728cea1ec599481beaaab
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx2
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);