incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar...@apache.org
Subject svn commit: r1381450 - /incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx
Date Thu, 06 Sep 2012 00:44:00 GMT
Author: arist
Date: Thu Sep  6 00:44:00 2012
New Revision: 1381450

URL: http://svn.apache.org/viewvc?rev=1381450&view=rev
Log:
calcishmakkica: init vars

From: Eike Rathke <erack@apache.org>

Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>

# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1298043566 -3600
# Node ID 346e0beefed21519bbb6545bccfea022dd75ed66
# Parent  2416febcae5c81a24b40439f09f91e40a686b911

Modified:
    incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx

Modified: incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx?rev=1381450&r1=1381449&r2=1381450&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx Thu Sep  6 00:44:00 2012
@@ -4613,12 +4613,12 @@ double ScInterpreter::IterateParametersI
         size_t nRefInList = 0;
         while (nParam-- > 0)
         {
-            SCCOL nCol1;
-            SCROW nRow1;
-            SCTAB nTab1;
-            SCCOL nCol2;
-            SCROW nRow2;
-            SCTAB nTab2;
+            SCCOL nCol1 = 0;
+            SCROW nRow1 = 0;
+            SCTAB nTab1 = 0;
+            SCCOL nCol2 = 0;
+            SCROW nRow2 = 0;
+            SCTAB nTab2 = 0;
             ScMatrixRef pQueryMatrix;
             switch ( GetStackType() )
             {
@@ -5169,12 +5169,12 @@ double ScInterpreter::IterateParametersI
             // take range
             nParam = 1;
             nRefInList = 0;
-            SCCOL nCol1;
-            SCROW nRow1;
-            SCTAB nTab1;
-            SCCOL nCol2;
-            SCROW nRow2;
-            SCTAB nTab2;
+            SCCOL nCol1 = 0;
+            SCROW nRow1 = 0;
+            SCTAB nTab1 = 0;
+            SCCOL nCol2 = 0;
+            SCROW nRow2 = 0;
+            SCTAB nTab2 = 0;
             ScMatrixRef pQueryMatrix;
             switch ( GetStackType() )
             {
@@ -5322,12 +5322,12 @@ double ScInterpreter::IterateParametersI
             nParam = 1;
             nRefInList = 0;
             bool bNull = true;
-            SCCOL nMainCol1;
-            SCROW nMainRow1;
-            SCTAB nMainTab1;
-            SCCOL nMainCol2;
-            SCROW nMainRow2;
-            SCTAB nMainTab2;
+            SCCOL nMainCol1 = 0;
+            SCROW nMainRow1 = 0;
+            SCTAB nMainTab1 = 0;
+            SCCOL nMainCol2 = 0;
+            SCROW nMainRow2 = 0;
+            SCTAB nMainTab2 = 0;
             ScMatrixRef pMainMatrix;
             switch ( GetStackType() )
             {



Mime
View raw message