summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-05-15 14:40:01 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-05-19 10:45:48 -0500
commite84a04273b08bf4527155d348f2aebe840696b4e (patch)
tree60412819eb6e61af4404d469e51b2e432d8a2c8c /chart2
parentb751e3915ef527c9af07b995c95fb353c3c81a42 (diff)
WaE on mac osx build
Change-Id: Ief28d2563b66754d00fdc09d6d68ea3a73aff22a
Diffstat (limited to 'chart2')
-rw-r--r--chart2/qa/extras/chart2export.cxx2
-rw-r--r--chart2/qa/extras/chart2import.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index 3e645abe33f3..3a6cd81df77b 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -49,7 +49,7 @@ void testErrorBar( Reference< XPropertySet > xErrorBar )
CPPUNIT_ASSERT(
xErrorBar->getPropertyValue("ShowNegativeError") >>= bShowNegative);
CPPUNIT_ASSERT(bShowNegative);
- double nVal;
+ double nVal = 0.0;
CPPUNIT_ASSERT(xErrorBar->getPropertyValue("PositiveError") >>= nVal);
CPPUNIT_ASSERT_DOUBLES_EQUAL(nVal, 10.0, 1e-10);
}
diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx
index decd18ed2b1a..074b23250570 100644
--- a/chart2/qa/extras/chart2import.cxx
+++ b/chart2/qa/extras/chart2import.cxx
@@ -56,7 +56,7 @@ void Chart2ImportTest::Fdo60083()
static_cast<sal_Int32>(chart::ErrorBarStyle::RELATIVE),
nErrorBarStyle);
- double nVal;
+ double nVal = 0.0;
CPPUNIT_ASSERT(
xErrorBarYProps->getPropertyValue("PositiveError") >>= nVal);
CPPUNIT_ASSERT_DOUBLES_EQUAL(5.0, nVal, 1e-8);