diff options
author | Noel Power <noel.power@suse.com> | 2013-07-10 12:30:47 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-07-10 12:32:38 +0100 |
commit | adab0134662562298ff13e7fe564623af4bc33da (patch) | |
tree | 35c03774eff91c5d65960aa5c24759ccc1ccbdbd /sc | |
parent | 8422d1f5042de08e8b090a907889b41e133bda40 (diff) |
use GetMatrix instead of manually disambiguating External and normal refs
Change-Id: I00710708691f6020b65fa622987dd37586b247dd
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 6 |
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) { |