diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 09:21:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 09:59:17 +0100 |
commit | 98f2bd667c45ad8d041673c99678e2f95a749b55 (patch) | |
tree | 4a91f1a6476d619cb398c6c1bce39f197a545ce7 /cui | |
parent | 1d69cf32a73c0720882731ebf3eb5d2f07fce246 (diff) |
loplugin:unusedmethods
Remove a filtering step in the python script that was hiding some
results
Change-Id: Id94268f150902405ab197c077f18aaedf98845fc
Reviewed-on: https://gerrit.libreoffice.org/83256
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/SvxMenuConfigPage.hxx | 1 | ||||
-rw-r--r-- | cui/source/inc/SvxToolbarConfigPage.hxx | 1 | ||||
-rw-r--r-- | cui/source/inc/chardlg.hxx | 3 | ||||
-rw-r--r-- | cui/source/inc/numfmt.hxx | 1 | ||||
-rw-r--r-- | cui/source/inc/numpages.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 15 | ||||
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 5 |
7 files changed, 0 insertions, 28 deletions
diff --git a/cui/source/inc/SvxMenuConfigPage.hxx b/cui/source/inc/SvxMenuConfigPage.hxx index 5ff3aea6b0ba..9c98daee86ef 100644 --- a/cui/source/inc/SvxMenuConfigPage.hxx +++ b/cui/source/inc/SvxMenuConfigPage.hxx @@ -29,7 +29,6 @@ class SvxMenuConfigPage : public SvxConfigPage private: bool m_bIsMenuBar; - DECL_LINK( SelectMenu, weld::ComboBox&, void ); DECL_LINK( SelectMenuEntry, weld::TreeView&, void ); DECL_LINK( GearHdl, const OString&, void ); diff --git a/cui/source/inc/SvxToolbarConfigPage.hxx b/cui/source/inc/SvxToolbarConfigPage.hxx index 542eee2006d1..5c13b4595f53 100644 --- a/cui/source/inc/SvxToolbarConfigPage.hxx +++ b/cui/source/inc/SvxToolbarConfigPage.hxx @@ -30,7 +30,6 @@ class SvxToolbarConfigPage : public SvxConfigPage { private: - DECL_LINK( SelectToolbar, weld::ComboBox&, void ); DECL_LINK( SelectToolbarEntry, weld::TreeView&, void ); DECL_LINK( MoveHdl, weld::Button&, void ); diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx index 9e4419d4406e..0b08d7e8f9a1 100644 --- a/cui/source/inc/chardlg.hxx +++ b/cui/source/inc/chardlg.hxx @@ -127,7 +127,6 @@ private: bool FillItemSet_Impl( SfxItemSet& rSet, LanguageGroup eLangGrp ); DECL_LINK(UpdateHdl_Impl, Timer *, void ); - DECL_LINK(FontModifyEditHdl_Impl, weld::Entry&, void); DECL_LINK(FontModifyComboBoxHdl_Impl, weld::ComboBox&, void); DECL_LINK(FontFeatureButtonClicked, weld::Button&, void); @@ -205,7 +204,6 @@ private: DECL_LINK(SelectListBoxHdl_Impl, weld::ComboBox&, void); DECL_LINK(CbClickHdl_Impl, weld::ToggleButton&, void); DECL_LINK(TristClickHdl_Impl, weld::ToggleButton&, void); - DECL_LINK(UpdatePreview_Impl, weld::ComboBox&, void); DECL_LINK(ColorBoxSelectHdl_Impl, ColorListBox&, void); public: @@ -272,7 +270,6 @@ private: DECL_LINK(RotationHdl_Impl, weld::ToggleButton&, void); DECL_LINK(AutoPositionHdl_Impl, weld::ToggleButton&, void); DECL_LINK(FitToLineHdl_Impl, weld::ToggleButton&, void); - DECL_LINK(KerningSelectHdl_Impl, weld::ComboBox&, void); DECL_LINK(KerningModifyHdl_Impl, weld::MetricSpinButton&, void); DECL_LINK(ValueChangedHdl_Impl, weld::MetricSpinButton&, void); DECL_LINK(ScaleWidthModifyHdl_Impl, weld::MetricSpinButton&, void); diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index 4ff56250ea9f..54796c63b736 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -141,7 +141,6 @@ private: DECL_LINK(EditModifyHdl_Impl, weld::Entry&, void); DECL_LINK(OptEditHdl_Impl, weld::SpinButton&, void); DECL_LINK(OptClickHdl_Impl, weld::Button&, void); - DECL_LINK(TimeHdl_Impl, Timer*, void); void EditHdl_Impl(const weld::Entry*); void OptHdl_Impl(const weld::Widget*); diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 56131e25c841..2e3584581a30 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -269,7 +269,6 @@ class SvxNumOptionsTabPage : public SfxTabPage DECL_LINK(RatioHdl_Impl, weld::ToggleButton&, void); DECL_LINK(CharFmtHdl_Impl, weld::ComboBox&, void); DECL_LINK(EditModifyHdl_Impl, weld::Entry&, void); - DECL_LINK(EditListBoxHdl_Impl, weld::ComboBox&, void); DECL_LINK(AllLevelHdl_Impl, weld::SpinButton&, void); DECL_LINK(OrientHdl_Impl, weld::ComboBox&, void); DECL_LINK(SameLevelHdl_Impl, weld::ToggleButton&, void); @@ -351,7 +350,6 @@ class SvxNumPositionTabPage : public SfxTabPage DECL_LINK(LevelHdl, void *, void); DECL_LINK(EditModifyHdl_Impl, weld::ComboBox&, void); DECL_LINK(DistanceHdl_Impl, weld::MetricSpinButton&, void); - DECL_LINK(DistanceFocusHdl_Impl, Control&, void); DECL_LINK(RelativeHdl_Impl, weld::ToggleButton&, void); DECL_LINK(StandardHdl_Impl, weld::Button&, void); diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index d7dca728de87..18987cc0a5cf 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -1128,11 +1128,6 @@ IMPL_LINK(SvxCharNamePage, FontModifyComboBoxHdl_Impl, weld::ComboBox&, rBox, vo FontModifyHdl_Impl(rBox); } -IMPL_LINK(SvxCharNamePage, FontModifyEditHdl_Impl, weld::Entry&, rBox, void) -{ - FontModifyHdl_Impl(rBox); -} - IMPL_LINK(SvxCharNamePage, FontFeatureButtonClicked, weld::Button&, rButton, void) { OUString sFontName; @@ -1635,16 +1630,6 @@ void SvxCharEffectsPage::SelectHdl_Impl(const weld::ComboBox* pBox) UpdatePreview_Impl(); } -IMPL_LINK_NOARG(SvxCharEffectsPage, UpdatePreview_Impl, weld::ComboBox&, void) -{ - bool bEnable = ( ( m_xUnderlineLB->get_active() > 0 ) || - ( m_xOverlineLB->get_active() > 0 ) || - ( m_xStrikeoutLB->get_active() > 0 ) ); - m_xIndividualWordsBtn->set_sensitive( bEnable ); - - UpdatePreview_Impl(); -} - IMPL_LINK_NOARG(SvxCharEffectsPage, CbClickHdl_Impl, weld::ToggleButton&, void) { UpdatePreview_Impl(); diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 03c431cfdd9e..49ded0f6c562 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -2069,11 +2069,6 @@ IMPL_LINK_NOARG(SvxNumOptionsTabPage, CharFmtHdl_Impl, weld::ComboBox&, void) SetModified(false); }; -IMPL_LINK_NOARG(SvxNumOptionsTabPage, EditListBoxHdl_Impl, weld::ComboBox&, void) -{ - EditModifyHdl_Impl(nullptr); -} - IMPL_LINK(SvxNumOptionsTabPage, EditModifyHdl_Impl, weld::Entry&, rEdit, void) { EditModifyHdl_Impl(&rEdit); |