diff options
author | Eike Rathke <erack@redhat.com> | 2018-03-02 21:38:08 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-03-15 17:00:38 +0100 |
commit | f7247d66b3376b37da403acd74ee49f59b8b18a5 (patch) | |
tree | ed6dcaaeb41d34628013fcfcb6b6e3c1538d2755 | |
parent | 5c9cd49df8e806d1f0bfd62f62ba057d54186ee8 (diff) |
Resolves: tdf#116149 handle external references in VAR* and STDEV* functions
Change-Id: I644a5f8f92452ca775ee3b42a73d3f0a0ac3c623
(cherry picked from commit 38b87bbb24c1d1cc088d3d135e7e95b3ec75d386)
Reviewed-on: https://gerrit.libreoffice.org/50647
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index ca588b6a9f03..18a93676fa4a 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -3932,9 +3932,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; |