xmloff/source/draw/animationimport.cxx |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit a8355cf0fc9e109a119ef680a09ba254464cc111
Author:     Sarper Akdemir <q.sarperakde...@gmail.com>
AuthorDate: Sat Aug 29 18:43:09 2020 +0300
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Mon Aug 31 12:59:54 2020 +0200

    make physics animation imports forward compatible
    
    Change-Id: Ic61ec9fafdd45a76d6f000cf5bd64cab1025fe22
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101644
    Reviewed-by: Michael Stahl <michael.st...@cib.de>
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
    Tested-by: Jenkins

diff --git a/xmloff/source/draw/animationimport.cxx 
b/xmloff/source/draw/animationimport.cxx
index 5076ff1d98be..cfe312481d12 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -925,6 +925,8 @@ void AnimationNodeContext::init_node(  const 
css::uno::Reference< css::xml::sax:
             }
             break;
 
+            case XML_ELEMENT(ANIMATION, 
XML_PHYSICS_ANIMATION_START_VELOCITY_X):
+            case XML_ELEMENT(ANIMATION_OOO, 
XML_PHYSICS_ANIMATION_START_VELOCITY_X):
             case XML_ELEMENT(LO_EXT, XML_PHYSICS_ANIMATION_START_VELOCITY_X):
             {
                 Reference< XAnimatePhysics > xAnimatePhysics( mxNode, 
UNO_QUERY );
@@ -933,6 +935,8 @@ void AnimationNodeContext::init_node(  const 
css::uno::Reference< css::xml::sax:
             }
             break;
 
+            case XML_ELEMENT(ANIMATION, 
XML_PHYSICS_ANIMATION_START_VELOCITY_Y):
+            case XML_ELEMENT(ANIMATION_OOO, 
XML_PHYSICS_ANIMATION_START_VELOCITY_Y):
             case XML_ELEMENT(LO_EXT, XML_PHYSICS_ANIMATION_START_VELOCITY_Y):
             {
                 Reference< XAnimatePhysics > xAnimatePhysics( mxNode, 
UNO_QUERY );
@@ -941,6 +945,8 @@ void AnimationNodeContext::init_node(  const 
css::uno::Reference< css::xml::sax:
             }
             break;
 
+            case XML_ELEMENT(ANIMATION, XML_PHYSICS_ANIMATION_DENSITY):
+            case XML_ELEMENT(ANIMATION_OOO, XML_PHYSICS_ANIMATION_DENSITY):
             case XML_ELEMENT(LO_EXT, XML_PHYSICS_ANIMATION_DENSITY):
             {
                 Reference< XAnimatePhysics > xAnimatePhysics( mxNode, 
UNO_QUERY );
@@ -949,6 +955,8 @@ void AnimationNodeContext::init_node(  const 
css::uno::Reference< css::xml::sax:
             }
             break;
 
+            case XML_ELEMENT(ANIMATION, XML_PHYSICS_ANIMATION_BOUNCINESS):
+            case XML_ELEMENT(ANIMATION_OOO, XML_PHYSICS_ANIMATION_BOUNCINESS):
             case XML_ELEMENT(LO_EXT, XML_PHYSICS_ANIMATION_BOUNCINESS):
             {
                 Reference< XAnimatePhysics > xAnimatePhysics( mxNode, 
UNO_QUERY );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to