summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-22 20:57:11 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-22 21:03:55 +0900
commitbddd4d45989067e58589519c497e03ff443094e9 (patch)
tree41e4eadda19dab42bd976115eef7562b36e287eb /chart2
parentfb7b24dc5affb4f29f61a8716c97370951ccba80 (diff)
Mark as const
Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
Diffstat (limited to 'chart2')
-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},