From fb1d3b580763a333bbbfe115d09e1b5cd8849675 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Oct 2018 10:46:10 +0200 Subject: loplugin:constfields in sc Change-Id: If326175d571d15752efd1b63df45b2bc785f7541 Reviewed-on: https://gerrit.libreoffice.org/61653 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/miscdlgs/dataproviderdlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/miscdlgs') diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx b/sc/source/ui/miscdlgs/dataproviderdlg.cxx index 8686a16a468d..54a1e88a9249 100644 --- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx +++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx @@ -35,7 +35,7 @@ class ScDataProviderBaseControl : public VclContainer, OUString maURL; OUString maID; - Link maImportCallback; + Link const maImportCallback; DECL_LINK(ProviderSelectHdl, ListBox&, void); DECL_LINK(IDEditHdl, Edit&, void); @@ -182,9 +182,9 @@ namespace { struct MenuData { - int nMenuID; + int const nMenuID; const char* aMenuName; - std::function maCallback; + std::function const maCallback; }; MenuData aStartData[] = { -- cgit