sw/qa/core/layout/layout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d62c0be4e61c2a8cccdb1a8bea8218327580b7ad Author: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> AuthorDate: Mon Jul 12 16:16:22 2021 +0300 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Jul 13 13:59:14 2021 +0200 testVerticallyMergedCellBorder: increase twips tolerance to 30 It was failing for me on Linux and another person on Windows, going 1 twip over the tolerance. 30 twips translates to 2 pixels in 96 DPI. Change-Id: Ide9a29fdf3f2b4929408eb6d0d7a0792e927bb95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118778 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/qa/core/layout/layout.cxx b/sw/qa/core/layout/layout.cxx index 911c17189f8c..92c195a9681d 100644 --- a/sw/qa/core/layout/layout.cxx +++ b/sw/qa/core/layout/layout.cxx @@ -475,7 +475,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreLayoutTest, testVerticallyMergedCellBorder) bool bFound = false; for (const auto nLayoutPosition : aLayoutPositions) { - if (std::abs(nBorderPosition - nLayoutPosition) <= 15) + if (std::abs(nBorderPosition - nLayoutPosition) <= 30) { bFound = true; break; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits