You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2012/09/06 02:44:00 UTC

svn commit: r1381450 - /incubator/ooo/trunk/main/sc/source/core/tool/interpr1.cxx

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 <er...@apache.org>

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

# HG changeset patch
# User Eike Rathke [er] <ei...@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() )
             {