sc/source/core/tool/interpr1.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 38b87bbb24c1d1cc088d3d135e7e95b3ec75d386 Author: Eike Rathke <er...@redhat.com> Date: Fri Mar 2 21:38:08 2018 +0100 Resolves: tdf#116149 handle external references in VAR* and STDEV* functions Change-Id: I644a5f8f92452ca775ee3b42a73d3f0a0ac3c623 diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 632d16c49b32..1722ececce25 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -3930,9 +3930,11 @@ void ScInterpreter::GetStVarParams( bool bTextAsZero, double(*VarResult)( double } } break; + case svExternalSingleRef : + case svExternalDoubleRef : case svMatrix : { - ScMatrixRef pMat = PopMatrix(); + ScMatrixRef pMat = GetMatrix(); if (pMat) { SCSIZE nC, nR; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits