shell/source/backends/desktopbe/desktopbackend.cxx | 2 +- shell/source/backends/kf5be/kf5backend.cxx | 2 +- shell/source/backends/localebe/localebecdef.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit b0a21fb21f7a3ce4aca2db1eaa839e4b6fc5ed6d Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Jul 1 23:46:41 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Jul 2 07:10:24 2020 +0200 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 <sberg...@redhat.com> 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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits