[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Mar 9 07:38:26 PST 2011
sc/source/core/tool/interpr1.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit e8133a3dc31e15c5e9766ff3979086e3f230666f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Mar 9 11:02:22 2011 +0000
silence some warnings
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 0a1eebc..8e370d6 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();
More information about the Libreoffice-commits
mailing list