summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-03-02 21:38:08 +0100
committerEike Rathke <erack@redhat.com>2018-03-02 21:44:27 +0100
commit38b87bbb24c1d1cc088d3d135e7e95b3ec75d386 (patch)
treea0cdb9499fca54ac73dc3e81fd70666e213f9978 /sc/source
parenta44e62b82c7598471da9a5254953067613806337 (diff)
Resolves: tdf#116149 handle external references in VAR* and STDEV* functions
Change-Id: I644a5f8f92452ca775ee3b42a73d3f0a0ac3c623
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/interpr1.cxx4
1 files changed, 3 insertions, 1 deletions
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;