[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - sd/qa

Sarper Akdemir (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 4 15:38:40 UTC 2021


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

New commits:
commit 3a091109f4e7a621d439f17832429757512317ad
Author:     Sarper Akdemir <sarper.akdemir at collabora.com>
AuthorDate: Mon Jun 28 17:13:42 2021 +0300
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Oct 4 17:38:05 2021 +0200

    tdf#59323 pptx export: test for datetime footer backwards compatibility
    
    Extends the existing pptx export slide footers test to make sure
    exported datetime footers will be importable by previous versions
    of Impress.
    
    Change-Id: I0026860adb9bebdacc5b2b10fe5d0bf9d7ab419f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117985
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117986
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx
index 759fa8e203e5..11a69d3afc29 100644
--- a/sd/qa/unit/export-tests-ooxml2.cxx
+++ b/sd/qa/unit/export-tests-ooxml2.cxx
@@ -3292,6 +3292,10 @@ void SdOOXMLExportTest2::testTdf59323_slideFooters()
     assertXPath(pXmlDocSlide1, "//p:ph [@type='ftr']", "idx", "2");
     assertXPath(pXmlDocSlide1, "//p:ph [@type='sldNum']", "idx", "3");
 
+    // Test if datetime fields have text in them
+    // This is needed for backwards compatibility
+    assertXPath(pXmlDocSlide1, "//a:fld [@type='datetime1']/a:t");
+
     xDocShRef->DoClose();
 }
 


More information about the Libreoffice-commits mailing list