fdo#40726: Handle external references with cell function T.
This commit is contained in:
parent
f055e0e361
commit
e9d5629a52
1 changed files with 16 additions and 0 deletions
|
@ -2812,6 +2812,22 @@ void ScInterpreter::ScT()
|
|||
}
|
||||
}
|
||||
break;
|
||||
case svExternalSingleRef:
|
||||
case svExternalDoubleRef:
|
||||
{
|
||||
ScMatrixRef pMat = GetMatrix();
|
||||
if (!pMat || !pMat->GetElementCount())
|
||||
{
|
||||
SetError( errIllegalParameter);
|
||||
break;
|
||||
}
|
||||
|
||||
if (pMat->IsString(0, 0))
|
||||
PushString(pMat->GetString(0, 0));
|
||||
else
|
||||
PushString(EMPTY_STRING);
|
||||
}
|
||||
break;
|
||||
case svDouble :
|
||||
{
|
||||
PopError();
|
||||
|
|
Loading…
Reference in a new issue