From bddd4d45989067e58589519c497e03ff443094e9 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Mon, 22 Jul 2013 20:57:11 +0900 Subject: Mark as const Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351 --- chart2/source/tools/ConfigColorScheme.cxx | 2 +- chart2/source/tools/ErrorBar.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source/tools') 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}, -- cgit