summaryrefslogtreecommitdiff
path: root/chart2/source/tools
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools')
-rw-r--r--chart2/source/tools/ConfigColorScheme.cxx2
-rw-r--r--chart2/source/tools/ErrorBar.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx
index d1425e9c8dd7..57743923f172 100644
--- a/chart2/source/tools/ConfigColorScheme.cxx
+++ b/chart2/source/tools/ConfigColorScheme.cxx
@@ -157,7 +157,7 @@ void ConfigColorScheme::retrieveConfigColors()
return static_cast< sal_Int32 >( m_aColorSequence[ nIndex % m_nNumberOfColors ] );
// fall-back: hard-coded standard colors
- static sal_Int32 nDefaultColors[] = {
+ static const sal_Int32 nDefaultColors[] = {
0x9999ff, 0x993366, 0xffffcc,
0xccffff, 0x660066, 0xff8080,
0x0066cc, 0xccccff, 0x000080,
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx
index 932efbc7bb17..14c88fbbb502 100644
--- a/chart2/source/tools/ErrorBar.cxx
+++ b/chart2/source/tools/ErrorBar.cxx
@@ -53,7 +53,7 @@ bool lcl_isInternalData( const uno::Reference< chart2::data::XLabeledDataSequenc
const SfxItemPropertySet* GetErrorBarPropertySet()
{
- static SfxItemPropertyMapEntry aErrorBarPropertyMap_Impl[] =
+ static const SfxItemPropertyMapEntry aErrorBarPropertyMap_Impl[] =
{
{MAP_CHAR_LEN("ShowPositiveError"),0,&getBooleanCppuType(), 0, 0},
{MAP_CHAR_LEN("ShowNegativeError"),1,&getBooleanCppuType(), 0, 0},