From 4b59a110ddd1f02cfa0f677c68c6ef0ee1f3295d Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Fri, 9 Mar 2018 14:48:49 +0100 Subject: tdf#116101 Correct position for linespacing > 100% MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia3d90d521e03ed59312d1603b2cf5e5680b00781 Reviewed-on: https://gerrit.libreoffice.org/51005 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- editeng/qa/unit/core-test.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng/qa/unit/core-test.cxx') diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 44d3e7a7a82d..7e1ccef61824 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -226,7 +226,7 @@ void Test::testLineSpacing() // Check the first line ParagraphInfos aInfo2 = aEditEngine.GetParagraphInfos(0); - CPPUNIT_ASSERT_EQUAL(sal_uInt16(269), aInfo2.nFirstLineMaxAscent); + CPPUNIT_ASSERT_EQUAL(sal_uInt16(295), aInfo2.nFirstLineMaxAscent); CPPUNIT_ASSERT_EQUAL(sal_uInt16(382), static_cast(aEditEngine.GetLineHeight(0))); } -- cgit