diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-23 14:32:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-24 07:46:27 +0100 |
commit | 48fd4199a665130947033ee431db766c04d8d023 (patch) | |
tree | 9df2c493497c604b56dc7ecfa2635fee496adcb4 /cui | |
parent | d2cf4cb76268c600ff7cfcdb6dc97c859f8b6e38 (diff) |
loplugin:constparams in connectivity..cui
Change-Id: Ia2ae97498a9aad8638c4b77ce20143eeec616751
Reviewed-on: https://gerrit.libreoffice.org/66792
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/chardlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/cuitabline.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/numpages.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/tabstpge.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tabstpge.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tplnedef.cxx | 4 |
8 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx index 0aa3cd9499f1..7f547c91711a 100644 --- a/cui/source/inc/chardlg.hxx +++ b/cui/source/inc/chardlg.hxx @@ -219,7 +219,7 @@ private: Color GetPreviewFontColor(const Color& rColor) const; void EnableNoneFontColor(); - void SelectHdl_Impl(weld::ComboBox*); + void SelectHdl_Impl(const weld::ComboBox*); DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void); DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void); DECL_LINK(TristClickHdl_Impl, weld::ToggleButton&, void); diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index 284a0e656a55..1c0753b0c539 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -287,8 +287,8 @@ private: DECL_LINK(ClickSaveHdl_Impl, weld::Button&, void); DECL_LINK(ChangeMetricHdl_Impl, weld::ToggleButton&, void); DECL_LINK(SelectTypeListBoxHdl_Impl, weld::ComboBox&, void); - void SelectTypeHdl_Impl(weld::ComboBox*); - void ChangeMetricHdl_Impl(weld::ToggleButton*); + void SelectTypeHdl_Impl(const weld::ComboBox*); + void ChangeMetricHdl_Impl(const weld::ToggleButton*); void CheckChanges_Impl(); diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 3f3b429087f9..c1a1869c551a 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -315,7 +315,7 @@ class SvxNumOptionsTabPage : public SfxTabPage DECL_LINK(BulColorHdl_Impl, ColorListBox&, void); DECL_LINK(BulRelSizeHdl_Impl, weld::MetricSpinButton&, void); DECL_LINK(PreviewInvalidateHdl_Impl, Timer*, void); - void EditModifyHdl_Impl(weld::Entry*); + void EditModifyHdl_Impl(const weld::Entry*); public: SvxNumOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet); diff --git a/cui/source/inc/tabstpge.hxx b/cui/source/inc/tabstpge.hxx index d244064b5c67..f3f10c4a3435 100644 --- a/cui/source/inc/tabstpge.hxx +++ b/cui/source/inc/tabstpge.hxx @@ -128,7 +128,7 @@ private: void InitTabPos_Impl( sal_uInt16 nPos = 0 ); void SetFillAndTabType_Impl(); - void NewHdl_Impl(weld::Button*); + void NewHdl_Impl(const weld::Button*); // Handler DECL_LINK(NewHdl_Impl, weld::Button&, void); diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 0e4c952f3d22..ffcfd040493b 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -1612,7 +1612,7 @@ IMPL_LINK( SvxCharEffectsPage, SelectListBoxHdl_Impl, weld::ComboBox&, rBox, voi SelectHdl_Impl(&rBox); } -void SvxCharEffectsPage::SelectHdl_Impl(weld::ComboBox* pBox) +void SvxCharEffectsPage::SelectHdl_Impl(const weld::ComboBox* pBox) { if (m_xEmphasisLB.get() == pBox) { diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 16b1186583a1..4142b7e06dfc 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -2118,7 +2118,7 @@ IMPL_LINK(SvxNumOptionsTabPage, EditModifyHdl_Impl, weld::Entry&, rEdit, void) EditModifyHdl_Impl(&rEdit); } -void SvxNumOptionsTabPage::EditModifyHdl_Impl(weld::Entry* pEdit) +void SvxNumOptionsTabPage::EditModifyHdl_Impl(const weld::Entry* pEdit) { bool bPrefix = pEdit == m_xPrefixED.get(); bool bSuffix = pEdit == m_xSuffixED.get(); diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index 8220e0b19d04..bc2ac9a6a4de 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -430,7 +430,7 @@ IMPL_LINK(SvxTabulatorTabPage, NewHdl_Impl, weld::Button&, rBtn, void) NewHdl_Impl(&rBtn); } -void SvxTabulatorTabPage::NewHdl_Impl(weld::Button* pBtn) +void SvxTabulatorTabPage::NewHdl_Impl(const weld::Button* pBtn) { // Add a new one and select it // Get the value from the display diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index 1d38acd64070..a36fcfa37288 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -379,7 +379,7 @@ IMPL_LINK( SvxLineDefTabPage, ChangeMetricHdl_Impl, weld::ToggleButton&, r, void ChangeMetricHdl_Impl(&r); } -void SvxLineDefTabPage::ChangeMetricHdl_Impl(weld::ToggleButton* p) +void SvxLineDefTabPage::ChangeMetricHdl_Impl(const weld::ToggleButton* p) { if( !m_xCbxSynchronize->get_active() && m_xMtrLength1->get_unit() != eFUnit ) { @@ -450,7 +450,7 @@ IMPL_LINK( SvxLineDefTabPage, SelectTypeListBoxHdl_Impl, weld::ComboBox&, rListB SelectTypeHdl_Impl(&rListBox); } -void SvxLineDefTabPage::SelectTypeHdl_Impl(weld::ComboBox* p) +void SvxLineDefTabPage::SelectTypeHdl_Impl(const weld::ComboBox* p) { if (p == m_xLbType1.get() || !p) { |