2016-12-03 13:33:57 +01:00
|
|
|
Index: libreoffice-5.3.0.0.beta1/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
|
2016-03-14 10:52:20 +01:00
|
|
|
===================================================================
|
2016-12-03 13:33:57 +01:00
|
|
|
--- libreoffice-5.3.0.0.beta1.orig/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
|
|
|
|
+++ libreoffice-5.3.0.0.beta1/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
|
|
|
|
@@ -1102,29 +1102,6 @@ DECLARE_OOXMLEXPORT_TEST(testTDF93675, "
|
2016-03-14 10:52:20 +01:00
|
|
|
assertXPath(pXmlDoc, "//w:ind", "start", "1418");
|
|
|
|
}
|
|
|
|
|
|
|
|
-DECLARE_OOXMLEXPORT_TEST(testFlipAndRotateCustomShape, "flip_and_rotate.odt")
|
|
|
|
-{
|
|
|
|
- xmlDocPtr pXmlDoc = parseExport("word/document.xml");
|
|
|
|
- if (!pXmlDoc)
|
|
|
|
- return;
|
|
|
|
- // there should be no flipH and flipV attributes in this case
|
|
|
|
- assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipH");
|
|
|
|
- assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipV");
|
|
|
|
- // check rotation angle
|
|
|
|
- assertXPath(pXmlDoc, "//a:xfrm", "rot", "13500000");
|
|
|
|
- // check the first few coordinates of the polygon
|
2016-06-02 11:02:44 +02:00
|
|
|
-#ifndef MACOSX /* Retina-related rounding rountrip error
|
2016-04-04 13:21:15 +02:00
|
|
|
- * hard to smooth out due to the use of string compare
|
|
|
|
- * instead of number */
|
2016-03-14 10:52:20 +01:00
|
|
|
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "x", "2351");
|
|
|
|
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "y", "3171");
|
|
|
|
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "x", "1695");
|
|
|
|
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "y", "3171");
|
|
|
|
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "x", "1695");
|
|
|
|
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "y", "1701");
|
2016-04-04 13:21:15 +02:00
|
|
|
-#endif
|
2016-03-14 10:52:20 +01:00
|
|
|
-}
|
|
|
|
-
|
2016-12-03 13:33:57 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
CPPUNIT_PLUGIN_IMPLEMENT();
|