summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-09 11:02:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-09 11:02:22 +0000
commit28bc2b2c4d479e8adf71c3d7939bdd42f8008c13 (patch)
tree5666e8cb6a1c0ef2ead062022688ffe99aa6764b
parent4be37d1bc9ca2d3d1b9e25c28dcc4c6157b80521 (diff)
silence some warnings
-rw-r--r--sc/source/core/tool/interpr1.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 4bcdb7536d5f..6b0e7bff0644 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6692,12 +6692,12 @@ void ScInterpreter::ScOffset()
nRowNew = (long) ::rtl::math::approxFloor(GetDoubleWithDefault( -1.0 ));
nColPlus = (long) ::rtl::math::approxFloor(GetDouble());
nRowPlus = (long) ::rtl::math::approxFloor(GetDouble());
- 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);
if (nColNew == 0 || nRowNew == 0)
{
PushIllegalArgument();