summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/border.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 09:30:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 10:46:12 +0200
commitbb480f77b8a65e7e52b53e601e536f55fa55f44b (patch)
tree6e6052573afb6246d476dd087a461df6d224b43a /cui/source/tabpages/border.cxx
parent1d63be277eb7daedc7c59850ab53b6341352d0fd (diff)
loplugin:staticvar in cppuhelper..desktop
Change-Id: I21cf6bafab6e865b90b29caa73183a8e00b538d1 Reviewed-on: https://gerrit.libreoffice.org/61865 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/border.cxx')
-rw-r--r--cui/source/tabpages/border.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 414c8a2a05a6..17c6417f778b 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -1265,13 +1265,13 @@ void SvxBorderTabPage::FillLineListBox_Impl()
{
using namespace ::com::sun::star::table::BorderLineStyle;
- struct {
+ static struct {
SvxBorderLineStyle mnStyle;
long mnMinWidth;
LineListBox::ColorFunc mpColor1Fn;
LineListBox::ColorFunc mpColor2Fn;
LineListBox::ColorDistFunc mpColorDistFn;
- } aLines[] = {
+ } const aLines[] = {
// Simple lines
{ SvxBorderLineStyle::SOLID, 0, &sameColor, &sameColor, &sameDistColor },
{ SvxBorderLineStyle::DOTTED, 0, &sameColor, &sameColor, &sameDistColor },