summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-07-10 12:30:47 +0100
committerNoel Power <noel.power@suse.com>2013-07-10 12:32:38 +0100
commitadab0134662562298ff13e7fe564623af4bc33da (patch)
tree35c03774eff91c5d65960aa5c24759ccc1ccbdbd
parent8422d1f5042de08e8b090a907889b41e133bda40 (diff)
use GetMatrix instead of manually disambiguating External and normal refs
Change-Id: I00710708691f6020b65fa622987dd37586b247dd
-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)
{