summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/interpr4.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 62e28c31dd3c..72563fd662ce 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3288,11 +3288,7 @@ void ScInterpreter::ScMacro()
case svExternalDoubleRef:
case svMatrix:
{
- ScMatrixRef pMat;
- if (nStackType == svMatrix)
- pMat = PopMatrix();
- else
- PopExternalDoubleRef(pMat);
+ ScMatrixRef pMat = GetMatrix();
SCSIZE nC, nR;
if (pMat && !nGlobalError)
{