sd/qa/unit/data/odp/tdf156955.odp |binary sd/qa/unit/layout-tests.cxx | 8 ++++++++ 2 files changed, 8 insertions(+)
New commits: commit 16da2bc87145f07f6f84fa69c76d461a31aea139 Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Thu May 16 14:03:30 2024 +0200 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Thu May 16 15:57:59 2024 +0200 tdf#156955 Add test Change-Id: I02d2f437c3847970441dd489cc60beaf278b8d78 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167741 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/sd/qa/unit/data/odp/tdf156955.odp b/sd/qa/unit/data/odp/tdf156955.odp new file mode 100644 index 000000000000..ae8af600aa6d Binary files /dev/null and b/sd/qa/unit/data/odp/tdf156955.odp differ diff --git a/sd/qa/unit/layout-tests.cxx b/sd/qa/unit/layout-tests.cxx index 8143b82e5a1b..7c15cad69954 100644 --- a/sd/qa/unit/layout-tests.cxx +++ b/sd/qa/unit/layout-tests.cxx @@ -323,6 +323,14 @@ CPPUNIT_TEST_FIXTURE(SdLayoutTest, testFitToFrameTextFitting) #endif } +CPPUNIT_TEST_FIXTURE(SdLayoutTest, testTdf156955) +{ + xmlDocUniquePtr pXmlDoc = load("odp/tdf156955.odp"); + + // Make sure text box has the right size - without the fix it was 2759. + assertXPath(pXmlDoc, "/metafile/push/push/textarray[5]"_ostr, "y"_ostr, "3183"); +} + CPPUNIT_TEST_FIXTURE(SdLayoutTest, testTdf148966) { // Test related to IgnoreBreakAfterMultilineField compatibility flag.