summaryrefslogtreecommitdiff
path: root/legacy/libreoffice/disable-outdated-font-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/libreoffice/disable-outdated-font-test.patch')
-rw-r--r--legacy/libreoffice/disable-outdated-font-test.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/legacy/libreoffice/disable-outdated-font-test.patch b/legacy/libreoffice/disable-outdated-font-test.patch
new file mode 100644
index 000000000..02470d69a
--- /dev/null
+++ b/legacy/libreoffice/disable-outdated-font-test.patch
@@ -0,0 +1,16 @@
+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%