diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-10 13:49:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-11 06:15:21 +0000 |
commit | 5c84f40ea2e86bf85c0a59201faf1431f16aee40 (patch) | |
tree | 43a8b61f71052b4e3202f334fce8c60e52827fed /sc/inc/compiler.hxx | |
parent | fe82f6fc5cbd638972571a33f04e95971507bba9 (diff) |
loplugin:constantfunction
update the plugin similarly to
commit 3ee3b36ae0c064fb5c81268d8d63444309d1b970
Author: Stephan Bergmann <sbergman@redhat.com>
Date: Fri Oct 7 12:05:49 2016 +0200
loplugin:staticmethods: Don't be fooled by decls starting with macros
Change-Id: I98ac3216d5acf89a49a26feb089ae2fd34e6e510
Reviewed-on: https://gerrit.libreoffice.org/29665
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r-- | sc/inc/compiler.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index 8c6485627cd1..20423ef364fa 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -255,13 +255,13 @@ private: static CharClass *pCharClassEnglish; // character classification for en_US locale static const Convention *pConventions[ formula::FormulaGrammar::CONV_LAST ]; - static struct AddInMap + static const struct AddInMap { const char* pODFF; const char* pEnglish; const char* pOriginal; // programmatical name const char* pUpper; // upper case programmatical name - } maAddInMap[]; + } g_aAddInMap[]; static const AddInMap* GetAddInMap(); static size_t GetAddInMapCount(); |