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.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx
index 2b0071cd1b5b..fbed96791f34 100644
--- a/xmloff/source/draw/animexp.cxx
+++ b/xmloff/source/draw/animexp.cxx
@@ -47,15 +47,19 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::presentation;
using namespace ::xmloff::token;
+namespace {
-const struct Effect
+struct Effect
{
XMLEffect const meKind;
XMLEffectDirection const meDirection;
sal_Int16 const mnStartScale;
bool const mbIn;
+};
+
}
- AnimationEffectMap[] =
+
+const Effect AnimationEffectMap[] =
{
{ EK_none, ED_none, -1, true }, // AnimationEffect_NONE
{ EK_fade, ED_from_left, -1, true }, // AnimationEffect_FADE_FROM_LEFT
@@ -196,8 +200,6 @@ enum XMLActionKind
XMLE_PLAY
};
-}
-
struct XMLEffectHint
{
XMLActionKind meKind;
@@ -224,6 +226,8 @@ struct XMLEffectHint
{}
};
+}
+
class AnimExpImpl
{
public: