sw/qa/extras/layout/layout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f005fe8e463695cb701f343c32777fe4d48159ed Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Jan 14 21:48:40 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jan 15 15:16:14 2022 +0100 request the 2nd rect explicitly instead of one with a particular 'top' value Change-Id: I04caee2263e5e7345fb3fb0c07830d1bf504bf7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128448 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> 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.