diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 09:26:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 10:40:56 +0200 |
commit | 27fa7eff1d06914750fbda2582c655ddbb21dfa3 (patch) | |
tree | dfdab06999530f2f5054b78b809598e240e163a7 /cui/source/options/optchart.cxx | |
parent | 4c0198b02c4a514bc61772d8c671c47c9553fd7a (diff) |
loplugin:oncevar in cui
Change-Id: I1bbd37a82f238327b5e52110c62cdd2a9b0a9c14
Reviewed-on: https://gerrit.libreoffice.org/39001
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optchart.cxx')
-rw-r--r-- | cui/source/options/optchart.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index c8b8865d5c90..00ba47e4e0b9 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -272,7 +272,7 @@ IMPL_LINK_NOARG(SvxDefaultColorOptPage, AddChartColor, Button*, void) { if( pColorConfig ) { - ColorData black = RGB_COLORDATA( 0x00, 0x00, 0x00 ); + ColorData const black = RGB_COLORDATA( 0x00, 0x00, 0x00 ); pColorConfig->GetColorList().append (XColorEntry ( black, pColorConfig->GetColorList().getDefaultName(pColorConfig->GetColorList().size()))); |