sd/qa/unit/data/odp/invalidXmlBy.odp |binary sd/qa/unit/export-tests-ooxml4.cxx | 11 +++++++++++ 2 files changed, 11 insertions(+)
New commits: commit 1c3c61ae11a9b38e9495212ec0e284dab5fc594d Author: Xisco Fauli <[email protected]> AuthorDate: Mon Jan 19 11:29:06 2026 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Jan 19 16:21:21 2026 +0100 sd_export_tests-ooxml4: Add test for e2b30525c3f0 Change-Id: Ie85671b211ffe0670bf3430888e9767690171ff6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197567 Reviewed-by: Xisco Fauli <[email protected]> Tested-by: Jenkins diff --git a/sd/qa/unit/data/odp/invalidXmlBy.odp b/sd/qa/unit/data/odp/invalidXmlBy.odp new file mode 100644 index 000000000000..177d15ebc0d6 Binary files /dev/null and b/sd/qa/unit/data/odp/invalidXmlBy.odp differ diff --git a/sd/qa/unit/export-tests-ooxml4.cxx b/sd/qa/unit/export-tests-ooxml4.cxx index 6cf2b0af69c2..a79d299aed7c 100644 --- a/sd/qa/unit/export-tests-ooxml4.cxx +++ b/sd/qa/unit/export-tests-ooxml4.cxx @@ -1512,6 +1512,17 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testInvalidPrstDashEnumValue) saveAndReload(TestFilter::PPTX); } +CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testInvalidXmlBy) +{ + createSdImpressDoc("odp/invalidXmlBy.odp"); + + // Without the fix in place, this test would have failed with + // - Expected: 0 + // - Actual : 15 + // - validation error in OOXML export: Errors: 15 + saveAndReload(TestFilter::PPTX); +} + CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testConvertWithMasterDeduplication) { createSdImpressDoc("odp/dupmastermultlayouts.odp");
