summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-22 13:59:45 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-22 14:02:31 +0900
commit98e20a37badecd868460ddbdc73262c494242b42 (patch)
treebafe144a009f40ca847cfbfbfd7c6c31812e0525 /starmath/source
parent43b989808142f49347929311347f9402f4c06368 (diff)
Mark as const
Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/mathmlimport.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index a1cabfae86ac..c10bf978a184 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -1885,7 +1885,7 @@ SvXMLImportContext *SmXMLFlatDocContext_Impl::CreateChildContext(
////////////////////////////////////////////////////////////
-static SvXMLTokenMapEntry aPresLayoutElemTokenMap[] =
+static const SvXMLTokenMapEntry aPresLayoutElemTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_SEMANTICS, XML_TOK_SEMANTICS },
{ XML_NAMESPACE_MATH, XML_MATH, XML_TOK_MATH },
@@ -1911,7 +1911,7 @@ static SvXMLTokenMapEntry aPresLayoutElemTokenMap[] =
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aPresLayoutAttrTokenMap[] =
+static const SvXMLTokenMapEntry aPresLayoutAttrTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_FONTWEIGHT, XML_TOK_FONTWEIGHT },
{ XML_NAMESPACE_MATH, XML_FONTSTYLE, XML_TOK_FONTSTYLE },
@@ -1921,27 +1921,27 @@ static SvXMLTokenMapEntry aPresLayoutAttrTokenMap[] =
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aFencedAttrTokenMap[] =
+static const SvXMLTokenMapEntry aFencedAttrTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_OPEN, XML_TOK_OPEN },
{ XML_NAMESPACE_MATH, XML_CLOSE, XML_TOK_CLOSE },
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aOperatorAttrTokenMap[] =
+static const SvXMLTokenMapEntry aOperatorAttrTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_STRETCHY, XML_TOK_STRETCHY },
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aAnnotationAttrTokenMap[] =
+static const SvXMLTokenMapEntry aAnnotationAttrTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_ENCODING, XML_TOK_ENCODING },
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aPresElemTokenMap[] =
+static const SvXMLTokenMapEntry aPresElemTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_ANNOTATION, XML_TOK_ANNOTATION },
{ XML_NAMESPACE_MATH, XML_MI, XML_TOK_MI },
@@ -1954,21 +1954,21 @@ static SvXMLTokenMapEntry aPresElemTokenMap[] =
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aPresScriptEmptyElemTokenMap[] =
+static const SvXMLTokenMapEntry aPresScriptEmptyElemTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_MPRESCRIPTS, XML_TOK_MPRESCRIPTS },
{ XML_NAMESPACE_MATH, XML_NONE, XML_TOK_NONE },
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aPresTableElemTokenMap[] =
+static const SvXMLTokenMapEntry aPresTableElemTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_MTR, XML_TOK_MTR },
{ XML_NAMESPACE_MATH, XML_MTD, XML_TOK_MTD },
XML_TOKEN_MAP_END
};
-static SvXMLTokenMapEntry aColorTokenMap[] =
+static const SvXMLTokenMapEntry aColorTokenMap[] =
{
{ XML_NAMESPACE_MATH, XML_BLACK, TBLACK},
{ XML_NAMESPACE_MATH, XML_WHITE, TWHITE},