diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-11 10:46:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 07:56:12 +0200 |
commit | fb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch) | |
tree | 93cf0598c86ba188f69ab30425ffea856ea9886b /sc/source/ui/miscdlgs | |
parent | 40bc840da261fcc5652e5278dc2566b61f990884 (diff) |
loplugin:constfields in sc
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541
Reviewed-on: https://gerrit.libreoffice.org/61653
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r-- | sc/source/ui/miscdlgs/dataproviderdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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<Window*, void> maImportCallback; + Link<Window*, void> 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<void(ScDataProviderDlg*)> maCallback; + std::function<void(ScDataProviderDlg*)> const maCallback; }; MenuData aStartData[] = { |