sd/qa/unit/export-tests-ooxml4.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit ce17fd24dc4dd0732cd974e8b615fdc181229b15
Author:     Xisco Fauli <[email protected]>
AuthorDate: Mon Jan 5 14:22:40 2026 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Jan 6 15:46:30 2026 +0100

    tdf#170202: sd_export_tests-ooxml4: Add test
    
    Change-Id: I4afc06901f7d620da16dbfac43b4fb42bfc14ea4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196570
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/sd/qa/unit/export-tests-ooxml4.cxx 
b/sd/qa/unit/export-tests-ooxml4.cxx
index e5a0a8556b38..0b8e835db37b 100644
--- a/sd/qa/unit/export-tests-ooxml4.cxx
+++ b/sd/qa/unit/export-tests-ooxml4.cxx
@@ -1337,6 +1337,13 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, 
testEmptyChildTnLstElement)
     // - Actual  : 4
     // - validation error in OOXML export: Errors: 4
     saveAndReload(TestFilter::PPTX);
+
+    xmlDocUniquePtr pXmlDoc = parseExport(u"ppt/slides/slide1.xml"_ustr);
+
+    // tdf#170202: Without the fix in place, this test would have failed with
+    // - Expected: 0
+    // - Actual  : 1
+    CPPUNIT_ASSERT_EQUAL(0, countXPathNodes(pXmlDoc, "//p:sld/p:timing"));
 }
 
 CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest4, testPlaceHolderFitHeightToText)

Reply via email to