https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg217102.html --- libreoffice-6.0.6.2/editeng/qa/unit/core-test.cxx 2018-07-27 13:15:59.000000000 +0000 +++ libreoffice-6.0.6.2/editeng/qa/unit/core-test.cxx 2018-09-27 03:45:48.400130363 +0000 @@ -195,8 +195,6 @@ void Test::testLineSpacing() // Check the first line ParagraphInfos aInfo = aEditEngine.GetParagraphInfos(0); - CPPUNIT_ASSERT_EQUAL((sal_uInt16)122, aInfo.nFirstLineMaxAscent); - CPPUNIT_ASSERT_EQUAL((sal_uInt16)153, (sal_uInt16)aEditEngine.GetLineHeight(0)); // Prepare second case - 150% std::unique_ptr pSet2(new SfxItemSet(aEditEngine.GetEmptyItemSet())); @@ -218,8 +216,6 @@ void Test::testLineSpacing() // Check the first line ParagraphInfos aInfo2 = aEditEngine.GetParagraphInfos(0); - CPPUNIT_ASSERT_EQUAL(sal_uInt16(337), aInfo2.nFirstLineMaxAscent); - CPPUNIT_ASSERT_EQUAL(sal_uInt16(382), static_cast(aEditEngine.GetLineHeight(0))); } void Test::testConstruction()