diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-09-25 06:29:09 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-09-25 09:05:39 +0900 |
commit | 982f75e2c4d2f20cede8ab1f27cb2ded4318ea62 (patch) | |
tree | ca3dff95c9dc40ec6890e9c3b4425bf83e218811 /xmloff/source/style | |
parent | 3734830c9cf8cb7254ba88a8c55ce6dfa1c5b7c9 (diff) |
Mark as const / static
Change-Id: I4a70ed8b527096e35fa717b87efc4b6990f29121
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/PageMasterPropHdlFactory.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/prhdlfac.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/PageMasterPropHdlFactory.cxx b/xmloff/source/style/PageMasterPropHdlFactory.cxx index ca96939581b0..337103586c07 100644 --- a/xmloff/source/style/PageMasterPropHdlFactory.cxx +++ b/xmloff/source/style/PageMasterPropHdlFactory.cxx @@ -31,7 +31,7 @@ using namespace ::xmloff::token; using namespace ::com::sun::star; -SvXMLEnumMapEntry aXML_TextGridMode_ConstantMap[] = +static SvXMLEnumMapEntry const aXML_TextGridMode_ConstantMap[] = { { XML_NONE, text::TextGridMode::NONE }, { XML_LINE, text::TextGridMode::LINES }, diff --git a/xmloff/source/style/prhdlfac.cxx b/xmloff/source/style/prhdlfac.cxx index 3e9fd918f2f3..1851dc0e038a 100644 --- a/xmloff/source/style/prhdlfac.cxx +++ b/xmloff/source/style/prhdlfac.cxx @@ -55,7 +55,7 @@ using namespace ::com::sun::star; using namespace ::xmloff::token; -SvXMLEnumMapEntry aXML_ColorMode_EnumMap[] = +static SvXMLEnumMapEntry const aXML_ColorMode_EnumMap[] = { { XML_GREYSCALE, drawing::ColorMode_GREYS }, { XML_MONO, drawing::ColorMode_MONO }, @@ -64,7 +64,7 @@ SvXMLEnumMapEntry aXML_ColorMode_EnumMap[] = { XML_TOKEN_INVALID, 0 } }; -SvXMLEnumMapEntry const aXML_HorizontalAdjust_Enum[] = +static SvXMLEnumMapEntry const aXML_HorizontalAdjust_Enum[] = { { XML_LEFT, text::HorizontalAdjust_LEFT }, { XML_CENTER, text::HorizontalAdjust_CENTER }, @@ -75,7 +75,7 @@ SvXMLEnumMapEntry const aXML_HorizontalAdjust_Enum[] = // aXML_WritingDirection_Enum is used with and without 'page' // attribute, so you'll find uses of aXML_WritingDirection_Enum // directly, as well as &(aXML_WritingDirection_Enum[1]) -SvXMLEnumMapEntry const aXML_WritingDirection_Enum[] = +static SvXMLEnumMapEntry const aXML_WritingDirection_Enum[] = { // aXML_WritingDirection_Enum { XML_PAGE, text::WritingMode2::PAGE }, |