summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorSarper Akdemir <q.sarperakdemir@gmail.com>2020-08-29 18:43:09 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-08-31 12:59:54 +0200
commita8355cf0fc9e109a119ef680a09ba254464cc111 (patch)
tree18108e9b8e03fc9c0e3bf06969c786dfaf0b31a4 /xmloff
parent586750da40c5b332d2442ef24ae121795e88e903 (diff)
make physics animation imports forward compatible
Change-Id: Ic61ec9fafdd45a76d6f000cf5bd64cab1025fe22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101644 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Jenkins
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/animationimport.cxx8
1 files changed, 8 insertions, 0 deletions
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 );