From f005fe8e463695cb701f343c32777fe4d48159ed Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Jan 2022 21:48:40 +0000 Subject: request the 2nd rect explicitly instead of one with a particular 'top' value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I04caee2263e5e7345fb3fb0c07830d1bf504bf7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128448 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sw/qa/extras/layout/layout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx index ce2b8e7f2339..20158e3ae744 100644 --- a/sw/qa/extras/layout/layout.cxx +++ b/sw/qa/extras/layout/layout.cxx @@ -2704,7 +2704,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testBtlrCell) // Without the accompanying fix in place, this test would have failed with 'Expected: 1979; // Actual : 2129', i.e. the gray background of the "AAA2." text was too close to the right edge // of the text portion. Now it's exactly behind the text portion. - assertXPath(pXmlDoc, "//rect[@top='2159']", "left", "1979"); + assertXPath(pXmlDoc, "(//rect)[2]", "left", "1979"); // Without the accompanying fix in place, this test would have failed with 'Expected: 269; // Actual : 0', i.e. the AAA2 frame was not visible due to 0 width. -- cgit