sc/source/core/tool/interpr4.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit c31bed5cd54e3db5a22d15d794d326ce9cafe146 Author: Eike Rathke <er...@redhat.com> Date: Mon May 22 21:47:17 2017 +0200 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 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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits