summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/animexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/animexp.cxx')
-rw-r--r--xmloff/source/draw/animexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx
index f448c4cccc5f..c0073838559b 100644
--- a/xmloff/source/draw/animexp.cxx
+++ b/xmloff/source/draw/animexp.cxx
@@ -178,7 +178,7 @@ void SdXMLImplSetEffect( AnimationEffect eEffect, XMLEffect& eKind, XMLEffectDir
eEffect = AnimationEffect_NONE;
}
- const Effect& rEffect = AnimationEffectMap[(int)eEffect];
+ const Effect& rEffect = AnimationEffectMap[static_cast<int>(eEffect)];
eKind = rEffect.meKind;
eDirection = rEffect.meDirection;
nStartScale = rEffect.mnStartScale;