[Libreoffice-commits] core.git: chart2/qa

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Tue May 12 17:18:24 UTC 2020


 chart2/qa/extras/chart2export.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dcbdde6b40ef6d26dbde6673812c593c6b23790b
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue May 12 19:17:41 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue May 12 19:17:41 2020 +0200

    chart2: fix build
    
    Change-Id: Idc963641a4baf0a6f05be6609f5818ee9dc7f7d1

diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index 5909bfd2c5db..27c6c66ceac6 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -1352,7 +1352,7 @@ void Chart2ExportTest::testColorGradientStopXLSX()
 void Chart2ExportTest::testRadialColorGradientDOCX()
 {
     load("/chart2/qa/extras/data/docx/", "tdf128794.docx");
-    xmlDocPtr pXmlDoc = parseExport("word/charts/chart", "Office Open XML Text");
+    xmlDocUniquePtr pXmlDoc = parseExport("word/charts/chart", "Office Open XML Text");
     CPPUNIT_ASSERT(pXmlDoc);
     // Test the gradeint style (if there is no 'a:path' attribute, it is a linear gradient)
     assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:spPr/a:gradFill/a:path", 0);


More information about the Libreoffice-commits mailing list