[Libreoffice-commits] core.git: sc/source

Noel Power noel.power at suse.com
Wed Jul 10 04:33:02 PDT 2013


 sc/source/core/tool/interpr4.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit adab0134662562298ff13e7fe564623af4bc33da
Author: Noel Power <noel.power at suse.com>
Date:   Wed Jul 10 12:30:47 2013 +0100

    use GetMatrix instead of manually disambiguating External and normal refs
    
    Change-Id: I00710708691f6020b65fa622987dd37586b247dd

diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 62e28c3..72563fd 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)
                 {


More information about the Libreoffice-commits mailing list