diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-07-07 20:54:45 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-07-08 09:20:55 +0200 |
commit | 2759edcbc143447fff9a28b8917c99e7a31a9564 (patch) | |
tree | 0d9a38712a091bb456c71fa9946759bcafa1dcf5 /extensions | |
parent | 2da149ff33b6ef345aef8619e06654e343c4e960 (diff) |
loplugin:redundantstatic (extensions/updatecheck(config|job))
Change-Id: Icf0769ab24c8a7c470b1fdf6363204d004c51fb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98297
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 4 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheckjob.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index 0db924341208..f3622f34914d 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -58,7 +58,7 @@ namespace uno = com::sun::star::uno ; #define PROPERTY_VERSION "Version" -static const char * const aUpdateEntryProperties[] = { +const char * const aUpdateEntryProperties[] = { UPDATE_VERSION, UPDATE_BUILDID, UPDATE_DESCRIPTION, @@ -72,7 +72,7 @@ static const char * const aUpdateEntryProperties[] = { OLD_VERSION }; -static const sal_uInt32 nUpdateEntryProperties = SAL_N_ELEMENTS(aUpdateEntryProperties); +const sal_uInt32 nUpdateEntryProperties = SAL_N_ELEMENTS(aUpdateEntryProperties); NamedValueByNameAccess::~NamedValueByNameAccess() { diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index 3656a214ff02..72015e75fd72 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -316,7 +316,7 @@ createConfigInstance(const uno::Reference<uno::XComponentContext>& xContext) } -static const cppu::ImplementationEntry kImplementations_entries[] = +const cppu::ImplementationEntry kImplementations_entries[] = { { createJobInstance, |