diff options
author | Justin Luth <justin.luth@collabora.com> | 2018-06-23 22:17:32 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2018-06-25 06:01:20 +0200 |
commit | 682cf3242272346ad9955cd050a47554930fa8b6 (patch) | |
tree | 29cc70bca37579ca99c6162742abe77ce2220590 /sd | |
parent | bef51263c2904fbee0d1283f0cbd32d89af1cbe4 (diff) |
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_luth@sil.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/export-tests-ooxml2.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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() |