summaryrefslogblamecommitdiff
path: root/user/libreoffice/disable-outdated-font-test.patch
blob: 02470d69aadeb421489521d89fabd080e6b2bd4e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                                                                             










                                                                                             
 
                             
https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg217102.html

--- libreoffice-6.2.1.2/editeng/qa/unit/core-test.cxx	2019-02-26 10:41:25.000000000 -0500
+++ libreoffice-6.2.1.2/editeng/qa/unit/core-test.cxx	2019-03-11 04:28:15.930763760 -0400
@@ -198,11 +198,6 @@ void Test::testLineSpacing()
         const SvxLineSpacingItem& rLSItem = pNode->GetContentAttribs().GetItem(EE_PARA_SBL);
         CPPUNIT_ASSERT_EQUAL(SvxInterLineSpaceRule::Prop, rLSItem.GetInterLineSpaceRule());
         CPPUNIT_ASSERT_EQUAL(nSpace, rLSItem.GetPropLineSpace());
-
-        // Check the first line
-        ParagraphInfos aInfo = aEditEngine.GetParagraphInfos(0);
-        CPPUNIT_ASSERT_EQUAL(nExpMaxAscent, aInfo.nFirstLineMaxAscent);
-        CPPUNIT_ASSERT_EQUAL(nExpLineHeight, aEditEngine.GetLineHeight(0));
     };
 
     // Test first case - 60%