libreoffice/libreoffice-hotfix-disablebrokenshapetest.patch
Tomáš Chvátal e9fdc2e593 - Version update to 5.1.2.2:
* Various small bugfixes all around 5.1 series
- Remove upstreamed patches:
  * 0001-Fix-patch-to-apply-on-SLE11-just-some-unknown-patch-.patch
  * 0001-Fix-python2-build-of-pyuno-with-older-py2-versions.patch
  * 0001-Update-etonyek-patch-to-apply-with-sle11-patch.patch
- Refresh patches:
  * 0001-liborcus-0.11.patch
  * libreoffice-hotfix-disablebrokenshapetest.patch
- Fix sle11 build by not using -r on ln command

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=396
2016-04-04 11:21:15 +00:00

35 lines
1.6 KiB
Diff

Index: libreoffice-5.1.2.2/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
===================================================================
--- libreoffice-5.1.2.2.orig/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
+++ libreoffice-5.1.2.2/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
@@ -1103,29 +1103,6 @@ DECLARE_OOXMLEXPORT_TEST(testTDF93675, "
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
-#ifndef MACOSX /* Retina-reatled rounding rountrip error
- * hard to smooth out due to the use of string compare
- * instead of number */
- 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");
-#endif
-}
-
#endif
CPPUNIT_PLUGIN_IMPLEMENT();