diff options
author | Eike Rathke <erack@redhat.com> | 2017-05-22 21:47:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-22 21:47:44 +0200 |
commit | c31bed5cd54e3db5a22d15d794d326ce9cafe146 (patch) | |
tree | 56a600afded117eaaafdbb473a2ee33301e27b14 | |
parent | 71229da3cb05fc8f3e94fe6a6a5d9ad43cdf8702 (diff) |
svRefList argument can be handled now in ForceArray context, tdf#58874
... but it's up to the comsuming function if and how, so don't set a hard error
here anymore.
Change-Id: I316b6fb22c4b0569d209880c34704bb04f757045
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index a9fe3c62109a..322a69e515a4 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -1491,11 +1491,14 @@ bool ScInterpreter::ConvertMatrixParameters() { formula::ParamClass eType = ScParameterClassification::GetParameterType( pCur, nParams - i); if ( eType != formula::ParamClass::Reference && - eType != formula::ParamClass::ReferenceOrForceArray) + eType != formula::ParamClass::ReferenceOrForceArray && + eType != formula::ParamClass::ForceArray) { // can't convert to matrix SetError( FormulaError::NoValue); } + // else: the consuming function has to decide if and how to + // handle a reference list argument in array context. } break; default: |