[Libreoffice-commits] core.git: extensions/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 8 07:21:43 UTC 2020


 extensions/source/update/check/updatecheckconfig.cxx |    4 ++--
 extensions/source/update/check/updatecheckjob.cxx    |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2759edcbc143447fff9a28b8917c99e7a31a9564
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Jul 7 20:54:45 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Jul 8 09:20:55 2020 +0200

    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 at yahoo.fr>

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,


More information about the Libreoffice-commits mailing list