summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-04-16 23:53:45 +0200
committerEike Rathke <erack@redhat.com>2015-04-17 01:11:38 +0200
commit9bfe478eaaa1c6b88bd396c94724a4afcc737549 (patch)
treeb8c69b091d1db5c233750677ac1ec5445d0a43ec /sc/source/core/tool/compiler.cxx
parentbe5b88c87dc50abd1d37a0074a5fb072d132fce2 (diff)
TableRef: use errNoRef error token instead of setting compiler error
So the ScTableRefToken always holds some RPN "reference". Change-Id: I69aa485b9b85286a3b272617781bb07198ea52c8
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 0260def31854..1b044721b64e 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5056,12 +5056,12 @@ bool ScCompiler::HandleTableRef()
}
else
{
- SetError( errNoRef);
+ pTR->SetAreaRefRPN( pNew->Add( new FormulaErrorToken( errNoRef)));
}
}
else
{
- SetError( errNoRef);
+ pTR->SetAreaRefRPN( pNew->Add( new FormulaErrorToken( errNoRef)));
}
while (nLevel-- > 0)
{