diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-07-23 20:27:53 +0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-23 20:45:25 +0200 |
commit | b0a0971d9f65168f9b82ec7a7ffaec9eea0b3e9e (patch) | |
tree | 113ba7b277181c1ce868c0d9385ccab537b6f1ee /sw | |
parent | 6b8b6f0117d7be63acf475adf8bf9b484a53062f (diff) |
sw: these arrays are constant
Change-Id: I15c49dc83f83dbc60b4a0db17183041aeaaa17fb
Reviewed-on: https://gerrit.libreoffice.org/40321
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index d06f31b66d4f..243af1e295e0 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -100,7 +100,7 @@ enum SwXMLTableCellAttrTokens XML_TOK_TABLE_VALUE_TYPE, }; -static SvXMLTokenMapEntry aTableElemTokenMap[] = +static const SvXMLTokenMapEntry aTableElemTokenMap[] = { { XML_NAMESPACE_TABLE, XML_TABLE_HEADER_COLUMNS, XML_TOK_TABLE_HEADER_COLS }, @@ -125,7 +125,7 @@ static SvXMLTokenMapEntry aTableElemTokenMap[] = XML_TOKEN_MAP_END }; -static SvXMLTokenMapEntry aTableCellAttrTokenMap[] = +static const SvXMLTokenMapEntry aTableCellAttrTokenMap[] = { { XML_NAMESPACE_XML, XML_ID, XML_TOK_TABLE_XMLID }, { XML_NAMESPACE_TABLE, XML_STYLE_NAME, XML_TOK_TABLE_STYLE_NAME }, |