summaryrefslogtreecommitdiffstats
path: root/editeng/qa/unit
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2018-03-09 14:48:49 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2018-03-09 16:45:16 +0100
commit4b59a110ddd1f02cfa0f677c68c6ef0ee1f3295d (patch)
tree50ae161a13cd541f91518f630b70d48cce226f72 /editeng/qa/unit
parentsw XHTML import: PNG <object> is an image (diff)
downloadcore-4b59a110ddd1f02cfa0f677c68c6ef0ee1f3295d.tar.gz
core-4b59a110ddd1f02cfa0f677c68c6ef0ee1f3295d.zip
tdf#116101 Correct position for linespacing > 100%
Change-Id: Ia3d90d521e03ed59312d1603b2cf5e5680b00781 Reviewed-on: https://gerrit.libreoffice.org/51005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'editeng/qa/unit')
-rw-r--r--editeng/qa/unit/core-test.cxx2
1 files changed, 1 insertions, 1 deletions
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<sal_uInt16>(aEditEngine.GetLineHeight(0)));
}