summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-10-26 18:12:42 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-26 19:34:28 +0200
commitb45ab31f2b5eb93773608f06b947cd9c5a169150 (patch)
tree070cac6882cfe17a123afdfd8e925443f6e14202 /chart2
parent4a8fa1ba2fa5b4e3c95a255c0cb2d45df54aea38 (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/qa/extras/chart2export2.cxx2
-rw-r--r--chart2/qa/extras/chart2geometry.cxx3
2 files changed, 0 insertions, 5 deletions
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);