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:32:17 -0400 |
commit | 1f090934e9ddffe0c7c1aa491688a45e9ab0b08e (patch) | |
tree | 81b209f2efc97a26b88f643a011e5e21a5440fc0 /chart2 | |
parent | 021aa5dff47712af36fffe7025b258355bf19a6c (diff) |
fdo#77506: Enable this check.
Change-Id: Ib4ad7c1a1583b9fde1a06dc8e355442f10bb9bec
(cherry picked from commit 10f8d24540a4145af3ec629f7eb724849ca53d22)
Diffstat (limited to 'chart2')
-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 72af75afbeed..7e260cc415ca 100644 --- a/chart2/qa/extras/charttest.hxx +++ b/chart2/qa/extras/charttest.hxx @@ -298,7 +298,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) |