diff options
author | Eike Rathke [er] <eike.rathke@oracle.com> | 2012-12-15 00:28:26 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-12-15 21:42:40 +0100 |
commit | 65721e490a753178c9e90dbe9eecb70124d94117 (patch) | |
tree | 9f342c1182400f73514cea0aa44b8ee35a94b4f0 /sc | |
parent | f28cafdc1d637ffb1409fa104e867ffcf00580f4 (diff) |
calcishmakkica: init vars
Merged from Apache OO.
http://svn.apache.org/viewvc?rev=1381450&view=rev
Original Apache OO committer: Andrew Rist <arist@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
Change-Id: I5c2b6f9a34336a734bd96e067ec57a2f58d4488c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 435a5093a4b1..43109e17dda7 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5600,12 +5600,12 @@ void ScInterpreter::ScCountIf() 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() ) { @@ -5819,12 +5819,12 @@ double ScInterpreter::IterateParametersIfs( ScIterFuncIfs eFunc ) // 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() ) { @@ -5973,12 +5973,12 @@ double ScInterpreter::IterateParametersIfs( ScIterFuncIfs eFunc ) 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() ) { |