From 5ab5f2d8656a1a0f3c9631e767687f9bb51a6913 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 1 Jul 2020 11:35:26 +0200 Subject: [PATCH] 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 --- lingucomponent/source/languageguessing/guesslang.cxx | 2 +- lingucomponent/source/numbertext/numbertext.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 NumberText_Impl_create(Reference } //#### 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 },