diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-01 21:16:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-01 22:37:08 +0200 |
commit | 93ef2735b847b1277793b267373878ccef1b581c (patch) | |
tree | d059d84301d3c7ffde29517380671bc8de7030b8 | |
parent | 5e3241cf1659a441af28f1e1adc8da2719e7cb85 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: scaddins
Change-Id: Ib3e2cdac213e59b8906aa42c90a7665b73c10b93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97653
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | scaddins/source/analysis/analysis.cxx | 4 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 2 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index 2669a00c2633..36a3012c046a 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -272,7 +272,7 @@ OUString SAL_CALL AnalysisAddIn::getArgumentDescription( const OUString& aName, return aRet; } -static const char pDefCatName[] = "Add-In"; +const char pDefCatName[] = "Add-In"; OUString SAL_CALL AnalysisAddIn::getProgrammaticCategoryName( const OUString& aName ) { @@ -321,7 +321,7 @@ OUString SAL_CALL AnalysisAddIn::getDisplayCategoryName( const OUString& aProgra static const char* pLang[] = { "de", "en" }; static const char* pCoun[] = { "DE", "US" }; -static const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS(pLang); +const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS(pLang); void AnalysisAddIn::InitDefLocales() { diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index f47b9b74a3dd..41e7437b883c 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -126,7 +126,7 @@ ScaDateAddIn::ScaDateAddIn() static const char* pLang[] = { "de", "en" }; static const char* pCoun[] = { "DE", "US" }; -static const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang ); +const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang ); void ScaDateAddIn::InitDefLocales() { diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index 32f4414dd0a0..4781baa9babe 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -132,7 +132,7 @@ ScaPricingAddIn::~ScaPricingAddIn() static const char* pLang[] = { "de", "en" }; static const char* pCoun[] = { "DE", "US" }; -static const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang ); +const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang ); void ScaPricingAddIn::InitDefLocales() { |