summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/core/xmluconv.cxx2
-rw-r--r--xmloff/source/forms/elementexport.cxx8
-rw-r--r--xmloff/source/style/csmaphdl.cxx2
-rw-r--r--xmloff/source/text/txtstyli.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx
index 0285aa3f7a3f..bd0d53e79567 100644
--- a/xmloff/source/core/xmluconv.cxx
+++ b/xmloff/source/core/xmluconv.cxx
@@ -264,7 +264,7 @@ static int lcl_gethex( int nChar )
return 0;
}
-static sal_Char aHexTab[] = "0123456789abcdef";
+static const sal_Char aHexTab[] = "0123456789abcdef";
/** convert double number to string (using ::rtl::math) */
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
};
diff --git a/xmloff/source/style/csmaphdl.cxx b/xmloff/source/style/csmaphdl.cxx
index 2e88f798594b..f24b0806f0c5 100644
--- a/xmloff/source/style/csmaphdl.cxx
+++ b/xmloff/source/style/csmaphdl.cxx
@@ -27,7 +27,7 @@
using namespace ::com::sun::star;
using namespace ::xmloff::token;
-static SvXMLEnumMapEntry<sal_uInt16> pXML_Casemap_Enum[] =
+static const SvXMLEnumMapEntry<sal_uInt16> pXML_Casemap_Enum[] =
{
{ XML_NONE, style::CaseMap::NONE },
{ XML_CASEMAP_LOWERCASE, style::CaseMap::LOWERCASE },
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index 2d4746a77ad3..128cd618ad35 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -417,7 +417,7 @@ void XMLTextStyleContext::FillPropertySet(
};
// the style families associated with the same index modulo 4
- static sal_uInt16 aFamilies[] =
+ static const sal_uInt16 aFamilies[] =
{
XML_STYLE_FAMILY_SD_GRADIENT_ID,
XML_STYLE_FAMILY_SD_GRADIENT_ID,