Kaydet (Commit) e84a0427 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

WaE on mac osx build

Change-Id: Ief28d2563b66754d00fdc09d6d68ea3a73aff22a
üst b751e391
......@@ -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);
}
......
......@@ -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);
......
......@@ -2684,7 +2684,7 @@ void ChartExport::exportErrorBar(Reference< XPropertySet> xErrorBarProps, bool b
}
else
{
double nVal;
double nVal = 0.0;
if(nErrorBarStyle == cssc::ErrorBarStyle::STANDARD_DEVIATION)
{
xErrorBarProps->getPropertyValue("Weight") >>= nVal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment