diff options
author | Eike Rathke <erack@redhat.com> | 2016-10-12 21:11:44 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-10-12 21:13:12 +0200 |
commit | 16fd5a6e7dbf7dabc1d8c53cd3aa6c1a50ff7892 (patch) | |
tree | 1b0785665f75b482af93c9ade3d85c218c813f23 | |
parent | c31fe18cb50724557a9b8272329addf5f818ef47 (diff) |
propagate original named expression error, if any
... instead of substituting with NoName error.
Change-Id: Id80f46f0f4c17a0fd06abdf821d1cf5ca5d7a3ec
-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 834c7ab3cd75..fa117a03c257 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -4665,7 +4665,7 @@ bool ScCompiler::HandleRange() { FormulaError nErr = pRangeData->GetErrCode(); if( nErr != FormulaError::NONE ) - SetError( FormulaError::NoName ); + SetError( nErr ); else if (mbJumpCommandReorder) { // put named formula into parentheses. |