diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-12 11:21:40 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-06-12 11:27:18 -0400 |
commit | 10f8d24540a4145af3ec629f7eb724849ca53d22 (patch) | |
tree | 7554fe2c42ca0d04eddab73cd870687bad4cf1c6 /chart2/qa/extras | |
parent | 9b2789618030eadf0524a5ae2fe294e24c7de0f7 (diff) |
fdo#77506: Enable this check.
Change-Id: Ib4ad7c1a1583b9fde1a06dc8e355442f10bb9bec
Diffstat (limited to 'chart2/qa/extras')
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 2 | ||||
-rw-r--r-- | chart2/qa/extras/charttest.hxx | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index 2d4713ed963e..21a9ece8de2e 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -739,13 +739,11 @@ void Chart2ExportTest::testScatterPlotLabels() xCT = getChartTypeFromDoc(xChartDoc, 0, 0); CPPUNIT_ASSERT(xCT.is()); -#if 0 aLabels = getDataSeriesLabelsFromChartType(xCT); CPPUNIT_ASSERT_EQUAL(size_t(3), aLabels.size()); CPPUNIT_ASSERT_EQUAL(OUString("a"), aLabels[0][0].get<OUString>()); CPPUNIT_ASSERT_EQUAL(OUString("b"), aLabels[1][0].get<OUString>()); CPPUNIT_ASSERT_EQUAL(OUString("c"), aLabels[2][0].get<OUString>()); -#endif } void Chart2ExportTest::testErrorBarDataRangeODS() diff --git a/chart2/qa/extras/charttest.hxx b/chart2/qa/extras/charttest.hxx index 71b20e762b98..5d0d15e0b2e9 100644 --- a/chart2/qa/extras/charttest.hxx +++ b/chart2/qa/extras/charttest.hxx @@ -301,7 +301,6 @@ std::vector<uno::Sequence<uno::Any> > getDataSeriesLabelsFromChartType( const Re Reference<chart2::XDataSeriesContainer> xDSCont(xCT, uno::UNO_QUERY); CPPUNIT_ASSERT(xDSCont.is()); Sequence<uno::Reference<chart2::XDataSeries> > aDataSeriesSeq = xDSCont->getDataSeries(); - CPPUNIT_ASSERT_EQUAL(sal_Int32(3), aDataSeriesSeq.getLength()); std::vector<uno::Sequence<uno::Any> > aRet; for (sal_Int32 i = 0; i < aDataSeriesSeq.getLength(); ++i) |