diff options
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 13 | ||||
-rwxr-xr-x | chart2/qa/extras/data/pptx/tdf60316.pptx | bin | 0 -> 46023 bytes |
2 files changed, 13 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index f70898a11ce6..628bdb98b213 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -160,6 +160,7 @@ public: void testTdf123206_customLabelText(); void testCustomLabelText(); void testDeletedLegendEntries(); + void testTdf60316(); void testTdf130225(); void testTdf59857(); void testTdf126076(); @@ -295,6 +296,7 @@ public: CPPUNIT_TEST(testTdf123206_customLabelText); CPPUNIT_TEST(testCustomLabelText); CPPUNIT_TEST(testDeletedLegendEntries); + CPPUNIT_TEST(testTdf60316); CPPUNIT_TEST(testTdf130225); CPPUNIT_TEST(testTdf59857); CPPUNIT_TEST(testTdf126076); @@ -2635,6 +2637,17 @@ void Chart2ExportTest::testDeletedLegendEntries() } } +void Chart2ExportTest::testTdf60316() +{ + load("/chart2/qa/extras/data/pptx/", "tdf60316.pptx"); + xmlDocUniquePtr pXmlDoc = parseExport("ppt/charts/chart", "Impress MS PowerPoint 2007 XML"); + CPPUNIT_ASSERT(pXmlDoc); + + // Without the fix in place, the shape would have had a solidFill background + assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:spPr/a:noFill", 1); + assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:spPr/a:solidFill", 0); +} + void Chart2ExportTest::testTdf130225() { load("/chart2/qa/extras/data/docx/", "piechart_deleted_legend_entry.docx"); diff --git a/chart2/qa/extras/data/pptx/tdf60316.pptx b/chart2/qa/extras/data/pptx/tdf60316.pptx Binary files differnew file mode 100755 index 000000000000..d1da03e5fa46 --- /dev/null +++ b/chart2/qa/extras/data/pptx/tdf60316.pptx |