diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-01 23:46:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 07:10:24 +0200 |
commit | b0a21fb21f7a3ce4aca2db1eaa839e4b6fc5ed6d (patch) | |
tree | d094fe03e645407807e4ff0f36ea9ef248621d86 /shell | |
parent | d563b9a5960e9bfe7077ee5aca44966d0bb3e2f1 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: shell
Change-Id: Ieb0abded6050cdb8a179ea1558bd17fa14ebb64b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97665
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/desktopbe/desktopbackend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/kf5be/kf5backend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/localebe/localebecdef.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx index 5f024f0679e8..92cb062d2496 100644 --- a/shell/source/backends/desktopbe/desktopbackend.cxx +++ b/shell/source/backends/desktopbe/desktopbackend.cxx @@ -303,7 +303,7 @@ css::uno::Reference< css::uno::XInterface > createInstance( ? backend : static_cast< cppu::OWeakObject * >(new Default); } -static cppu::ImplementationEntry const services[] = { +cppu::ImplementationEntry const services[] = { { &createInstance, &getDefaultImplementationName, &getDefaultSupportedServiceNames, &cppu::createSingleComponentFactory, nullptr, 0 }, diff --git a/shell/source/backends/kf5be/kf5backend.cxx b/shell/source/backends/kf5be/kf5backend.cxx index cb3f382b8cdd..44d0134d394f 100644 --- a/shell/source/backends/kf5be/kf5backend.cxx +++ b/shell/source/backends/kf5be/kf5backend.cxx @@ -258,7 +258,7 @@ createInstance(css::uno::Reference<css::uno::XComponentContext> const&) return static_cast<cppu::OWeakObject*>(new Service); } -static cppu::ImplementationEntry const services[] +cppu::ImplementationEntry const services[] = { { &createInstance, &getServiceImplementationName, &getServiceSupportedServiceNames, &cppu::createSingleComponentFactory, nullptr, 0 }, { nullptr, nullptr, nullptr, nullptr, nullptr, 0 } }; diff --git a/shell/source/backends/localebe/localebecdef.cxx b/shell/source/backends/localebe/localebecdef.cxx index fbbd63690d55..ed6e4c98b699 100644 --- a/shell/source/backends/localebe/localebecdef.cxx +++ b/shell/source/backends/localebe/localebecdef.cxx @@ -33,7 +33,7 @@ static uno::Reference<uno::XInterface> createLocaleBackend( } -static const cppu::ImplementationEntry kImplementations_entries[] = +const cppu::ImplementationEntry kImplementations_entries[] = { { createLocaleBackend, |