summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/sheet/xdatapilottable2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index b707146950a0..2aa34b8c4b22 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -74,7 +74,7 @@ void XDataPilotTable2::testGetDrillDownData()
for ( sal_Int32 row = 1; row < aData.getLength(); ++row)
{
Any aAny = aData[row][nDim];
- double nValue;
+ double nValue = 0;
if (aAny >>= nValue)
sum += nValue;
}