sc/qa/unit/scshapetest.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 35c4abc1b209b40a936c62bdff0b055856851ef1
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Tue Oct 19 12:55:18 2021 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Tue Dec 7 16:52:31 2021 +0100

    Bump tolerance from 30 to 40 to make this test pass on my Mac
    
    Assuming that the original 30 was just an arbitrary number that
    happened to work on the developer's machine, and for reasons a
    slightly larger tolerance is needed on mine.
    
    Change-Id: I08fe883dbe2eb88b7903019a71b689b539b085a7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123810
    Tested-by: Jenkins
    Reviewed-by: Regina Henschel <rb.hensc...@t-online.de>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126476

diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx
index 5586cdb954f2..cc5a04ea63e4 100644
--- a/sc/qa/unit/scshapetest.cxx
+++ b/sc/qa/unit/scshapetest.cxx
@@ -245,7 +245,7 @@ void ScShapeTest::testTdf144242_OpenBezier_noSwapWH()
     pObj = lcl_getSdrObjectWithAssert(rDoc2, 0);
     tools::Rectangle aSnapRect(pObj->GetSnapRect());
     // Without fix in place width and height were swapped
-    lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", 
aExpectRect, aSnapRect, 30);
+    lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", 
aExpectRect, aSnapRect, 40);
 
     pDocSh->DoClose();
 }
@@ -285,7 +285,7 @@ void ScShapeTest::testTdf144242_Line_noSwapWH()
     pObj = lcl_getSdrObjectWithAssert(rDoc2, 0);
     tools::Rectangle aSnapRect(pObj->GetSnapRect());
     // Without fix in place width and height were swapped
-    lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", 
aExpectRect, aSnapRect, 30);
+    lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", 
aExpectRect, aSnapRect, 40);
 
     pDocSh->DoClose();
 }

Reply via email to