summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-07-07 20:54:45 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-07-08 09:20:55 +0200
commit2759edcbc143447fff9a28b8917c99e7a31a9564 (patch)
tree0d9a38712a091bb456c71fa9946759bcafa1dcf5 /extensions
parent2da149ff33b6ef345aef8619e06654e343c4e960 (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.cxx4
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx2
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,