summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx2
-rw-r--r--svx/source/fmcomp/fmgridif.cxx4
-rw-r--r--svx/source/form/ParseContext.cxx2
-rw-r--r--svx/source/form/fmundo.cxx2
-rw-r--r--svx/source/stbctrls/zoomctrl.cxx2
-rw-r--r--svx/source/xml/xmlgrhlp.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx
index e90932139342..7951fe31d96f 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -127,7 +127,7 @@ static void lcl_PaintLevel(OutputDevice* pVDev, sal_Int16 nNumberingType,
}
void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
{
- static sal_uInt16 aLinesArr[] =
+ static const sal_uInt16 aLinesArr[] =
{
15, 10,
20, 30,
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 53781d2c04fc..32350b7c851f 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -1272,7 +1272,7 @@ void FmXGridPeer::removeModifyListener(const Reference< ::com::sun::star::util::
Sequence< sal_Bool > SAL_CALL FmXGridPeer::queryFieldDataType( const Type& xType ) throw(RuntimeException)
{
// eine 'Konvertierungstabelle'
- static sal_Bool bCanConvert[LAST_KNOWN_TYPE][4] =
+ static const sal_Bool bCanConvert[LAST_KNOWN_TYPE][4] =
{
{ sal_False, sal_False, sal_False, sal_False }, // FormComponentType::CONTROL
{ sal_False, sal_False, sal_False, sal_False }, // FormComponentType::COMMANDBUTTON
@@ -2767,7 +2767,7 @@ Sequence< ::com::sun::star::util::URL>& FmXGridPeer::getSupportedURLs()
static Sequence< ::com::sun::star::util::URL> aSupported;
if (aSupported.getLength() == 0)
{
- static OUString sSupported[] = {
+ static const OUString sSupported[] = {
FMURL_RECORD_MOVEFIRST,
FMURL_RECORD_MOVEPREV,
FMURL_RECORD_MOVENEXT,
diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx
index 49017c41acef..1e4dd6e3980c 100644
--- a/svx/source/form/ParseContext.cxx
+++ b/svx/source/form/ParseContext.cxx
@@ -128,7 +128,7 @@ OString OSystemParseContext::getIntlKeywordAscii(InternationalKeyCode _eKey) con
// -----------------------------------------------------------------------------
IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode(const OString& rToken) const
{
- static IParseContext::InternationalKeyCode Intl_TokenID[] =
+ static const IParseContext::InternationalKeyCode Intl_TokenID[] =
{
KEY_LIKE, KEY_NOT, KEY_NULL, KEY_TRUE,
KEY_FALSE, KEY_IS, KEY_BETWEEN, KEY_OR,
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index b66d2ed5f5f8..db3f1f21ba05 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -555,7 +555,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt)
return;
// if it's a "default value" property of a control model, set the according "value" property
- static OUString pDefaultValueProperties[] = {
+ static const OUString pDefaultValueProperties[] = {
OUString(FM_PROP_DEFAULT_TEXT), OUString(FM_PROP_DEFAULTCHECKED), OUString(FM_PROP_DEFAULT_DATE), OUString(FM_PROP_DEFAULT_TIME),
OUString(FM_PROP_DEFAULT_VALUE), OUString(FM_PROP_DEFAULT_SELECT_SEQ), OUString(FM_PROP_EFFECTIVE_DEFAULT)
};
diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx
index 8ad0c2ef1435..80db8d45f73b 100644
--- a/svx/source/stbctrls/zoomctrl.cxx
+++ b/svx/source/stbctrls/zoomctrl.cxx
@@ -57,7 +57,7 @@ ZoomPopup_Impl::ZoomPopup_Impl( sal_uInt16 nZ, sal_uInt16 nValueSet )
nZoom( nZ )
{
- static sal_uInt16 aTable[] =
+ static const sal_uInt16 aTable[] =
{
SVX_ZOOM_ENABLE_50, ZOOM_50,
SVX_ZOOM_ENABLE_100, ZOOM_100,
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 3eaf770d4581..99d5548b1c0a 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -463,7 +463,7 @@ String SvXMLGraphicHelper::ImplGetGraphicMimeType( const String& rFileName ) con
const char* pMimeType;
};
- static XMLGraphicMimeTypeMapper aMapper[] =
+ static const XMLGraphicMimeTypeMapper aMapper[] =
{
{ "gif", "image/gif" },
{ "png", "image/png" },