summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorGülşah Köse <gulsah.kose@collabora.com>2020-11-30 13:29:19 +0300
committerGülşah Köse <gulsah.kose@collabora.com>2020-12-02 14:06:46 +0100
commit5d80f679e1891f98ef964efa1166c90d001c5806 (patch)
tree9fa917fd7a31fe6fac6d5d42d1c3c17e7e1bcdc2 /sd
parentd350af4e0cf697e2f8ac97ffbf12243e72e1b89a (diff)
tdf#136957 Use bigger dots for better handling in presentation mode.
3 pt bigger dots are used. Human eye can't catch this change so we will see same dots in edit mode and presentation mode. Change-Id: I4a56406f4eb7a6832075a09a4d2f092bd689e9cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106855 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/uiimpress.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/sd/qa/unit/uiimpress.cxx b/sd/qa/unit/uiimpress.cxx
index fbd23a24eda0..2b492be3fffd 100644
--- a/sd/qa/unit/uiimpress.cxx
+++ b/sd/qa/unit/uiimpress.cxx
@@ -375,9 +375,19 @@ CPPUNIT_TEST_FIXTURE(SdUiImpressTest, testTdf134053)
// Because 0% is not possible as dash length (as of June 2020) 1% is used in the fix.
// For that a larger delta is here allowed to the ideal value than needed for
// rounding errors.
- CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Distance", 2117, fDistance, 12);
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Dot length", 706, fDotLength, 12);
- CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Dash length", 2822, fDashLength, 12);
+
+ // tdf#136957 (dotted lines are disappearing in presentation mode)
+ // Test value used as 2089 instead of 2117 for tdf#136957 workaround.
+ // If this test fails as Expected: 2089 Actual:2117
+ // plaese test tdf#136957 manually and use 2117 as test value again.
+ CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Distance", 2089, fDistance, 12);
+
+ // tdf#136957 (dotted lines are disappearing in presentation mode)
+ // Test value used as 2854 instead of 2822 for tdf#136957 workaround.
+ // If this test fails as Expected: 2854 Actual:2822
+ // plaese test tdf#136957 manually and use 2822 as test value again.
+ CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Dash length", 2854, fDashLength, 12);
}
CPPUNIT_TEST_FIXTURE(SdUiImpressTest, testSpellOnlineParameter)