summaryrefslogtreecommitdiffstats
path: root/emfio/qa/cppunit/wmf
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2021-04-02 16:06:11 +0200
committerAndras Timar <andras.timar@collabora.com>2021-04-06 21:15:27 +0200
commitb1905a3772064913eada51974743a3a10091d866 (patch)
tree1ec2655ccd137f1ce9e4f351bc75fe2304478d1f /emfio/qa/cppunit/wmf
parenttdf#141197 if we have a sysobj child then include that in the atk hierarchy (diff)
downloadcore-b1905a3772064913eada51974743a3a10091d866.tar.gz
core-b1905a3772064913eada51974743a3a10091d866.zip
tdf#37281 tdf#45820 tdf#48916 tdf#55058 EMF Implement complex clipping
As the visual glitches were resolved with: https://gerrit.libreoffice.org/c/core/+/113423 It is time for enabling complex clipping. Change-Id: I12edc88fc9a55c8deedf3d87faeb50cfe0067a01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113520 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> (cherry picked from commit aa17ea3d36b8f1ea8cd3d2fb215e80051547439d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113637 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'emfio/qa/cppunit/wmf')
-rw-r--r--emfio/qa/cppunit/wmf/wmfimporttest.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/emfio/qa/cppunit/wmf/wmfimporttest.cxx b/emfio/qa/cppunit/wmf/wmfimporttest.cxx
index 5dfcfdad2041..f63138bfa4b6 100644
--- a/emfio/qa/cppunit/wmf/wmfimporttest.cxx
+++ b/emfio/qa/cppunit/wmf/wmfimporttest.cxx
@@ -122,10 +122,11 @@ void WmfTest::testEmfProblem()
CPPUNIT_ASSERT(pDoc);
- assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "top", "427");
- assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "left", "740");
- assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "bottom", "2823");
- assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "right", "1876");
+ assertXPath(pDoc, "/metafile/sectrectclipregion", 2);
+ assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "top", "2125");
+ assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "left", "1084");
+ assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "bottom", "2927");
+ assertXPath(pDoc, "/metafile/sectrectclipregion[1]", "right", "2376");
}
void WmfTest::testEmfLineStyles()