sd/qa/unit/data/odp/emptyChildTnLstElement.odp |binary sd/qa/unit/export-tests-ooxml4.cxx | 11 +++++++++++ 2 files changed, 11 insertions(+)
New commits: commit 1df3683a0403ab8a401c92bb9456ceb1232e2edd Author: Xisco Fauli <[email protected]> AuthorDate: Wed Nov 19 20:36:08 2025 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Wed Nov 19 22:53:59 2025 +0100 sd_export_tests-ooxml4: Add test for cbf102d4c1ba Change-Id: I6394f98a8f36c0d028389a08940ec031d88d3ce3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194221 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sd/qa/unit/data/odp/emptyChildTnLstElement.odp b/sd/qa/unit/data/odp/emptyChildTnLstElement.odp new file mode 100644 index 000000000000..51a3896be130 Binary files /dev/null and b/sd/qa/unit/data/odp/emptyChildTnLstElement.odp differ diff --git a/sd/qa/unit/export-tests-ooxml4.cxx b/sd/qa/unit/export-tests-ooxml4.cxx index c06ce24a863e..429e15bd45b4 100644 --- a/sd/qa/unit/export-tests-ooxml4.cxx +++ b/sd/qa/unit/export-tests-ooxml4.cxx @@ -1298,6 +1298,17 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testTdf163483_export_math_fallback) "id", cNvPr_id); } +CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testEmptyChildTnLstElement) +{ + createSdImpressDoc("odp/emptyChildTnLstElement.odp"); + + // Without the fix in place, this test would have failed with + // - Expected: 0 + // - Actual : 4 + // - validation error in OOXML export: Errors: 4 + saveAndReload(TestFilter::PPTX); +} + CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testPlaceHolderFitHeightToText) { createSdImpressDoc("pptx/tdf160487.pptx");
