summaryrefslogtreecommitdiffstats
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-01 11:35:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-01 14:17:38 +0200
commit5ab5f2d8656a1a0f3c9631e767687f9bb51a6913 (patch)
tree56c6f31953b088919c0aa556b678249b8305afde /lingucomponent
parentUpdate git submodules (diff)
downloadcore-5ab5f2d8656a1a0f3c9631e767687f9bb51a6913.tar.gz
core-5ab5f2d8656a1a0f3c9631e767687f9bb51a6913.zip
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@redhat.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/languageguessing/guesslang.cxx2
-rw-r--r--lingucomponent/source/numbertext/numbertext.cxx2
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<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 },