From b45ab31f2b5eb93773608f06b947cd9c5a169150 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 26 Oct 2022 18:12:42 +0200 Subject: UnoApiTest: do not dispose on save Change-Id: Id100591517da48ec8e5cfd38f5c44ac0d7b16198 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141888 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- chart2/qa/extras/chart2export2.cxx | 2 -- chart2/qa/extras/chart2geometry.cxx | 3 --- 2 files changed, 5 deletions(-) (limited to 'chart2') diff --git a/chart2/qa/extras/chart2export2.cxx b/chart2/qa/extras/chart2export2.cxx index 64e5e5c676d4..1d79de8e119a 100644 --- a/chart2/qa/extras/chart2export2.cxx +++ b/chart2/qa/extras/chart2export2.cxx @@ -1127,8 +1127,6 @@ void Chart2ExportTest2::testTdf127792() assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:valAx/c:crossBetween", "val", "between"); } - - loadFromURL(u"docx/MSO_axis_position.docx"); { xmlDocUniquePtr pXmlDoc = parseExport("word/charts/chart2", "Office Open XML Text"); CPPUNIT_ASSERT(pXmlDoc); diff --git a/chart2/qa/extras/chart2geometry.cxx b/chart2/qa/extras/chart2geometry.cxx index 9073fcb42cfe..873d00a7f33e 100644 --- a/chart2/qa/extras/chart2geometry.cxx +++ b/chart2/qa/extras/chart2geometry.cxx @@ -209,7 +209,6 @@ void Chart2GeometryTest::testTdf128345ChartArea_CG_TS_import() = getXPathContent(pXmlDoc, sStylePath + "/style:graphic-properties/@draw:opacity-name"); // Verify the content of the opacity definition - loadFromURL(u"pptx/tdf128345_ChartArea_CG_TS.pptx"); xmlDocUniquePtr pXmlDoc2 = parseExport("Object 1/styles.xml", "impress8"); CPPUNIT_ASSERT(pXmlDoc2); const OString sAttribute("@draw:name='" + OU2O(sOUOpacityName) + "'"); @@ -261,7 +260,6 @@ void Chart2GeometryTest::testTdf128345ChartWall_CS_TG_import() = getXPathContent(pXmlDoc, sStylePath + "/style:graphic-properties/@draw:opacity-name"); // Verify content of the opacity definition - loadFromURL(u"pptx/tdf128345_ChartWall_CS_TG.pptx"); xmlDocUniquePtr pXmlDoc2 = parseExport("Object 1/styles.xml", "impress8"); CPPUNIT_ASSERT(pXmlDoc2); const OString sAttribute("@draw:name='" + OU2O(sOUOpacityName) + "'"); @@ -312,7 +310,6 @@ void Chart2GeometryTest::testTdf128345Legend_CS_TG_axial_import() const OUString sOUOpacityName = getXPathContent(pXmlDoc, sStylePath + "/style:graphic-properties/@draw:opacity-name"); - loadFromURL(u"pptx/tdf128345_Legend_CS_TG_axial.pptx"); // Verify content of the opacity definition xmlDocUniquePtr pXmlDoc2 = parseExport("Object 1/styles.xml", "impress8"); CPPUNIT_ASSERT(pXmlDoc2); -- cgit