these arrays should be const
Change-Id: I808064abce15c4ec240d61e8168f0430ebf4c86c Reviewed-on: https://gerrit.libreoffice.org/34722 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -45,7 +45,7 @@ enum XMLEffect
|
||||
EK_stretch
|
||||
};
|
||||
|
||||
extern SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[];
|
||||
extern const SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[];
|
||||
|
||||
enum XMLEffectDirection
|
||||
{
|
||||
@@ -84,9 +84,9 @@ enum XMLEffectDirection
|
||||
ED_cclockwise
|
||||
};
|
||||
|
||||
extern SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[];
|
||||
extern const SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[];
|
||||
|
||||
extern SvXMLEnumMapEntry aXML_AnimationSpeed_EnumMap[];
|
||||
extern const SvXMLEnumMapEntry aXML_AnimationSpeed_EnumMap[];
|
||||
|
||||
void SdXMLImplSetEffect( css::presentation::AnimationEffect eEffect, XMLEffect& eKind, XMLEffectDirection& eDirection, sal_Int16& nStartScale, bool& bIn );
|
||||
css::presentation::AnimationEffect ImplSdXMLgetEffect( XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, bool bIn );
|
||||
|
@@ -48,7 +48,7 @@ using namespace ::com::sun::star::lang;
|
||||
using namespace ::com::sun::star::presentation;
|
||||
using namespace ::xmloff::token;
|
||||
|
||||
SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[] =
|
||||
const SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[] =
|
||||
{
|
||||
{ XML_NONE, EK_none },
|
||||
{ XML_FADE, EK_fade },
|
||||
@@ -70,7 +70,7 @@ SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[] =
|
||||
{ XML_TOKEN_INVALID, 0 }
|
||||
};
|
||||
|
||||
SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[] =
|
||||
const SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[] =
|
||||
{
|
||||
{ XML_NONE, ED_none },
|
||||
{ XML_FROM_LEFT, ED_from_left },
|
||||
@@ -103,7 +103,7 @@ SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[] =
|
||||
{ XML_TOKEN_INVALID, 0 }
|
||||
};
|
||||
|
||||
SvXMLEnumMapEntry aXML_AnimationSpeed_EnumMap[] =
|
||||
const SvXMLEnumMapEntry aXML_AnimationSpeed_EnumMap[] =
|
||||
{
|
||||
{ XML_SLOW, AnimationSpeed_SLOW },
|
||||
{ XML_MEDIUM, AnimationSpeed_MEDIUM },
|
||||
|
Reference in New Issue
Block a user