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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 1 12:18:19 UTC 2020


 lingucomponent/source/languageguessing/guesslang.cxx |    2 +-
 lingucomponent/source/numbertext/numbertext.cxx      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5ab5f2d8656a1a0f3c9631e767687f9bb51a6913
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jul 1 11:35:26 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 1 14:17:38 2020 +0200

    Upcoming improved loplugin:staticanonymous -> redundantstatic: lingucomponent
    
    Change-Id: I70423a669527f2ce6ec25f58b8c409c0e2231962
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97604
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx
index 7e9d1999b919..4f73e5e008a2 100644
--- a/lingucomponent/source/languageguessing/guesslang.cxx
+++ b/lingucomponent/source/languageguessing/guesslang.cxx
@@ -333,7 +333,7 @@ static Reference< XInterface > LangGuess_Impl_create(
 }
 
 //#### EXPORTED ### functions to allow for registration and creation of the UNO component
-static const struct ::cppu::ImplementationEntry s_component_entries [] =
+const struct ::cppu::ImplementationEntry s_component_entries [] =
 {
     {
         LangGuess_Impl_create, getImplementationName_LangGuess_Impl,
diff --git a/lingucomponent/source/numbertext/numbertext.cxx b/lingucomponent/source/numbertext/numbertext.cxx
index 34e7694601a3..71927a7ac9c7 100644
--- a/lingucomponent/source/numbertext/numbertext.cxx
+++ b/lingucomponent/source/numbertext/numbertext.cxx
@@ -175,7 +175,7 @@ static Reference<XInterface> NumberText_Impl_create(Reference<XComponentContext>
 }
 
 //#### EXPORTED ### functions to allow for registration and creation of the UNO component
-static const struct ::cppu::ImplementationEntry s_component_entries[]
+const struct ::cppu::ImplementationEntry s_component_entries[]
     = { { NumberText_Impl_create, getImplementationName_NumberText_Impl,
           getSupportedServiceNames_NumberText_Impl, ::cppu::createSingleComponentFactory, nullptr,
           0 },


More information about the Libreoffice-commits mailing list