From 76dd28afc9c0eb632a5dd20eb51704ee0bbc4b58 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 9 Oct 2018 16:27:11 +0200 Subject: loplugin:staticvar in various looks for variables that can be declared const and static i.e. they can be stored in the read-only linker segment and shared between different processes Change-Id: I8ddc6e5fa0f6b10d80c75d5952df8ddd311cf892 Reviewed-on: https://gerrit.libreoffice.org/61591 Tested-by: Jenkins Reviewed-by: Noel Grandin --- scripting/source/dlgprov/dlgprov.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripting/source/dlgprov') diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index c7ae4c93277e..884ba6966d4f 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -736,7 +736,7 @@ namespace dlgprov } - static struct ::cppu::ImplementationEntry s_component_entries [] = + static struct ::cppu::ImplementationEntry const s_component_entries [] = { {create_DialogProviderImpl, getImplementationName_DialogProviderImpl,getSupportedServiceNames_DialogProviderImpl, ::cppu::createSingleComponentFactory,nullptr, 0}, { &comp_DialogModelProvider::_create,&comp_DialogModelProvider::_getImplementationName,&comp_DialogModelProvider::_getSupportedServiceNames,&::cppu::createSingleComponentFactory, nullptr, 0 }, -- cgit v1.2.3