summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-11-22 09:31:01 +0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-22 07:46:29 +0100
commit02393281b6964b6657985a453c6f1a43ac77411c (patch)
tree5a4f2a6535433e093e7918c6dbfc42492eab64eb /xmloff/source/forms
parent640e03da110d76b2c7d5ed5b8b8ba3b4367865ba (diff)
xmloff: These arrays are constant
Change-Id: I834e23610facb8b4b35f0a377e33b744e7725d1f Reviewed-on: https://gerrit.libreoffice.org/45066 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/elementexport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 8e8b7aaa559f..ba1eb56f5d79 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -599,7 +599,7 @@ namespace xmloff
// some integer properties
{
// now the common handling
- static CCAFlags nIntegerPropertyAttributeIds[] =
+ static const CCAFlags nIntegerPropertyAttributeIds[] =
{ // attribute flags
CCAFlags::Size, CCAFlags::TabIndex
};
@@ -998,7 +998,7 @@ namespace xmloff
// the integer properties
{
- static SCAFlags nIntegerPropertyAttributeIds[] =
+ static const SCAFlags nIntegerPropertyAttributeIds[] =
{ // attribute flags
SCAFlags::PageStepSize
};
@@ -1862,11 +1862,11 @@ namespace xmloff
}
else
{
- XMLTokenEnum eXmlImagePositions[] =
+ const XMLTokenEnum eXmlImagePositions[] =
{
XML_START, XML_END, XML_TOP, XML_BOTTOM
};
- XMLTokenEnum eXmlImageAligns[] =
+ const XMLTokenEnum eXmlImageAligns[] =
{
XML_START, XML_CENTER, XML_END
};