[Libreoffice-commits] core.git: sw/qa

Ilmari Lauhakangas (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 13 11:59:47 UTC 2021


 sw/qa/core/layout/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d62c0be4e61c2a8cccdb1a8bea8218327580b7ad
Author:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
AuthorDate: Mon Jul 12 16:16:22 2021 +0300
Commit:     Miklos Vajna <vmiklos at 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 <vmiklos at 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;


More information about the Libreoffice-commits mailing list