summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2018-07-12 23:35:44 +0800
committerMark Hung <marklh9@gmail.com>2018-07-16 11:55:32 +0200
commitdf3168e84dc30b5cbe993ec41b521486736065a7 (patch)
treea54c1827bd6284b63ec4af8b4d4d7bfbdb83917e /sd/source
parent311131fca0242e9465f03b6b1267906790a385c8 (diff)
oox: enum MS_AttributeNames -> enum class AnimationAttributeEnum
It's the attribute enum for the target animation. Remove MS_ prefix since it is in oox::ppt namespace and prepend Animation to make the purpose more clear. Change-Id: I0b6bbaf30ae4e2cf1cb0f6d5d24ba9f31e0b0773 Reviewed-on: https://gerrit.libreoffice.org/57353 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index b39d1ec0b152..4b0c9b95a860 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -481,7 +481,7 @@ bool AnimationImporter::convertAnimationNode( const Reference< XAnimationNode >&
const oox::ppt::ImplAttributeNameConversion* p = oox::ppt::getAttributeConversionList();
- oox::ppt::MS_AttributeNames eAttribute = oox::ppt::MS_UNKNOWN;
+ oox::ppt::AnimationAttributeEnum eAttribute = oox::ppt::AnimationAttributeEnum::UNKNOWN;
if( (nNodeType == AnimationNodeType::ANIMATEMOTION) ||
(nNodeType == AnimationNodeType::ANIMATETRANSFORM) )
@@ -511,7 +511,7 @@ bool AnimationImporter::convertAnimationNode( const Reference< XAnimationNode >&
xAnimate->setAttributeName( aAttributeName );
- if( eAttribute != oox::ppt::MS_UNKNOWN )
+ if(eAttribute != oox::ppt::AnimationAttributeEnum::UNKNOWN)
{
Any aAny( xAnimate->getFrom() );
if( aAny.hasValue() )