sd/qa/unit/export-tests-ooxml2.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 682cf3242272346ad9955cd050a47554930fa8b6 Author: Justin Luth <justin.l...@collabora.com> Date: Sat Jun 23 22:17:32 2018 +0300 tdf#114845: unit test to prevent a bad fix The fix I was about to suggest broke this file on round-trip. It is not enough to just exclude if not a group-shape, or else the group-shape detection is not good enough. Change-Id: I0048bb9221262afdd373b18b5d73ec9468b7d670 Reviewed-on: https://gerrit.libreoffice.org/56340 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_l...@sil.org> diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx index 041c90b10398..1b3a20e0a256 100644 --- a/sd/qa/unit/export-tests-ooxml2.cxx +++ b/sd/qa/unit/export-tests-ooxml2.cxx @@ -1292,7 +1292,10 @@ void SdOOXMLExportTest2::testSmartartRotation2() xDocShRef->DoClose(); xmlDocPtr pXmlDocContent = parseExport(tempFile, "ppt/slides/slide1.xml"); + assertXPath(pXmlDocContent, "/p:sld/p:cSld/p:spTree/p:grpSp/p:sp[3]/p:txBody/a:p/a:r/a:t", "Text"); assertXPath(pXmlDocContent, "/p:sld/p:cSld/p:spTree/p:grpSp/p:sp[3]/p:txBody/a:bodyPr", "rot", "10800000"); + assertXPath(pXmlDocContent, "/p:sld/p:cSld/p:spTree/p:grpSp/p:sp[3]/p:spPr/a:xfrm/a:off", "x", "2276280"); + assertXPath(pXmlDocContent, "/p:sld/p:cSld/p:spTree/p:grpSp/p:sp[3]/p:spPr/a:xfrm/a:off", "y", "3158280"); } void SdOOXMLExportTest2::testGroupsPosition() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits