Kaydet (Commit) c31bed5c authored tarafından Eike Rathke's avatar Eike Rathke

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
üst 71229da3
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment