sd/qa/unit/data/ppt/novell6655408.ppt |binary
 sd/qa/unit/export-tests-ooxml3.cxx    |   18 ++++++++++++++++++
 2 files changed, 18 insertions(+)

New commits:
commit 7abccc4723f3de4cdd358d77456debf9c66116df
Author:     Karthik Godha <[email protected]>
AuthorDate: Fri Oct 31 08:34:27 2025 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed Nov 5 13:04:31 2025 +0100

    Impress Unit Test: Test to check proper export of TimeAnimateValue
    
    Test related to the following commit
    06df3ad0b2fa771757c90f53dd1f33265a3912dc
    
    Change-Id: I9256e94af6fb495ddb2694ee6b0a03243219fc0b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193232
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/sd/qa/unit/data/ppt/novell6655408.ppt 
b/sd/qa/unit/data/ppt/novell6655408.ppt
new file mode 100644
index 000000000000..12708bee78bc
Binary files /dev/null and b/sd/qa/unit/data/ppt/novell6655408.ppt differ
diff --git a/sd/qa/unit/export-tests-ooxml3.cxx 
b/sd/qa/unit/export-tests-ooxml3.cxx
index a3c2572fbfb7..da333327fb76 100644
--- a/sd/qa/unit/export-tests-ooxml3.cxx
+++ b/sd/qa/unit/export-tests-ooxml3.cxx
@@ -1030,6 +1030,24 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest3, testTdf135843)
     assertXPath(pXmlDoc, sPathStart + 
"/a:tr[3]/a:tc[1]/a:tcPr/a:lnB/a:solidFill");
 }
 
+CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest3, testNegativeTimeAnimateValue)
+{
+    createSdImpressDoc("ppt/novell6655408.ppt");
+    save(u"Impress Office Open XML"_ustr);
+
+    xmlDocUniquePtr pXmlDoc = parseExport(u"ppt/slides/slide1.xml"_ustr);
+
+    static constexpr OString sPath(
+        
"/p:sld/p:timing/p:tnLst/p:par/p:cTn/p:childTnLst/p:seq/p:cTn/p:childTnLst"
+        "/p:par/p:cTn/p:childTnLst/p:par/p:cTn/p:childTnLst/p:par/p:cTn/"
+        "/p:childTnLst/p:anim/p:tavLst/p:tav[2]"_ostr);
+
+    // Verify `tav` exists
+    assertXPath(pXmlDoc, sPath, 2);
+    // Verify `tm` doesn't exist
+    assertXPath(pXmlDoc, sPath + "[@tm]", 0);
+}
+
 CPPUNIT_PLUGIN_IMPLEMENT();
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to