sd/source/filter/eppt/pptx-animations.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 2197e4abd2ba91a69292b5f633455aff9944848a
Author:     Karthik Godha <[email protected]>
AuthorDate: Mon Dec 29 16:00:09 2025 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Mon Dec 29 14:36:52 2025 +0100

    ODP -> PPTX: exporting invalid XML_by (CT_TLPoint)
    
    XML_by inside XML_animScale can't contain any child elements. Its
    schema is defined by CT_TLPoint (ISO-IEC-29500 19.5.21)
    
    bug document: tdf112587-1.odp
    
    Change-Id: I66169379fb0cf74a46e53f6b4474e0691e9da2f5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196292
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/sd/source/filter/eppt/pptx-animations.cxx 
b/sd/source/filter/eppt/pptx-animations.cxx
index ad623fd15f40..9795886e9176 100644
--- a/sd/source/filter/eppt/pptx-animations.cxx
+++ b/sd/source/filter/eppt/pptx-animations.cxx
@@ -107,6 +107,9 @@ void WriteAnimationProperty(const FSHelperPtr& pFS, const 
Any& rAny, sal_Int32 n
         }
         return;
     }
+    // If rAny is not a valid ValuePair and token is XML_by
+    if (nToken == XML_by)
+        return;
 
     sal_Int32 nRgb = {}; // spurious -Werror=maybe-uninitialized
     double fDouble = {}; // spurious -Werror=maybe-uninitialized

Reply via email to