summaryrefslogtreecommitdiff
path: root/scaddins/source/analysis
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-01 21:16:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-01 22:37:08 +0200
commit93ef2735b847b1277793b267373878ccef1b581c (patch)
treed059d84301d3c7ffde29517380671bc8de7030b8 /scaddins/source/analysis
parent5e3241cf1659a441af28f1e1adc8da2719e7cb85 (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>
Diffstat (limited to 'scaddins/source/analysis')
-rw-r--r--scaddins/source/analysis/analysis.cxx4
1 files changed, 2 insertions, 2 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()
{