summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-10-19 12:55:18 +0300
committerTor Lillqvist <tml@collabora.com>2021-10-19 16:12:38 +0200
commitdc3d2a2dcc47a1220db43f1807d234a06fb78fe9 (patch)
treec6bfa79f0e9a7486e76f591bba6d6ad5992f9a2a /sc/qa/unit
parent6ee4ce119b55d6e415696b23432fe65eabc94c17 (diff)
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.henschel@t-online.de> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/scshapetest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx
index 187bf08ba765..ad957d28b278 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();
}