diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-01 17:11:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-02 13:52:07 +0200 |
commit | 87e33c3c1c481ee38d03f66412374cd9bd2d76cb (patch) | |
tree | 0df38a0e381c5284dc7963ab135108d09ee49658 /include/svx | |
parent | 3ee5c24a03516892dfc58b4fe1211b21562b6cec (diff) |
drop some unused methods
Change-Id: I4da391591d30db9e51c1dd543bcf128f2e8621c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101914
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/dlgctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/langbox.hxx | 1 | ||||
-rw-r--r-- | include/svx/pagenumberlistbox.hxx | 3 | ||||
-rw-r--r-- | include/svx/relfld.hxx | 3 |
4 files changed, 0 insertions, 9 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index d6d299849e95..3fd0dc2f8b9e 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -241,8 +241,6 @@ public: void append_text(const OUString& rStr) { m_xControl->append_text(rStr); } bool get_value_changed_from_saved() const { return m_xControl->get_value_changed_from_saved(); } void save_value() { m_xControl->save_value(); } - void set_sensitive(bool bSensitive) { m_xControl->set_sensitive(bSensitive); } - bool get_sensitive() const { return m_xControl->get_sensitive(); } }; /************************************************************************/ diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 46956955a872..0fc4c59c91cb 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -91,7 +91,6 @@ public: void save_active_id() { m_eSavedLanguage = get_active_id(); } LanguageType get_saved_active_id() const { return m_eSavedLanguage; } bool get_active_id_changed_from_saved() const { return m_eSavedLanguage != get_active_id(); } - void show() { m_xControl->show(); } void hide() { m_xControl->hide(); } void set_visible(bool bShow) { m_xControl->set_visible(bShow); } void set_sensitive(bool bSensitive) { m_xControl->set_sensitive(bSensitive); } diff --git a/include/svx/pagenumberlistbox.hxx b/include/svx/pagenumberlistbox.hxx index aa2137e66d42..9885d982230f 100644 --- a/include/svx/pagenumberlistbox.hxx +++ b/include/svx/pagenumberlistbox.hxx @@ -30,11 +30,8 @@ private: std::unique_ptr<weld::ComboBox> m_xControl; public: SvxPageNumberListBox(std::unique_ptr<weld::ComboBox> pControl); - int get_count() const { return m_xControl->get_count(); } SvxNumType get_active_id() const { return static_cast<SvxNumType>(m_xControl->get_active_id().toInt32()); } void set_active_id(SvxNumType eId) const { m_xControl->set_active_id(OUString::number(static_cast<sal_Int32>(eId))); } - int get_active() const { return m_xControl->get_active(); } - void set_active(int pos) { m_xControl->set_active(pos); } void save_value() { m_xControl->save_value(); } bool get_value_changed_from_saved() const { return m_xControl->get_value_changed_from_saved(); } void connect_changed(const Link<weld::ComboBox&, void>& rLink) { m_xControl->connect_changed(rLink); } diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx index 58301c2a484f..4b78a1383517 100644 --- a/include/svx/relfld.hxx +++ b/include/svx/relfld.hxx @@ -58,9 +58,6 @@ public: void set_text(const OUString& rText) { m_xSpinButton->set_text(rText); } void save_value() { m_xSpinButton->save_value(); } bool get_value_changed_from_saved() const { return m_xSpinButton->get_value_changed_from_saved(); } - void set_size_request(int nWidth, int nHeight) { m_xSpinButton->set_size_request(nWidth, nHeight); } - void grab_focus() { m_xSpinButton->grab_focus(); } - Size get_preferred_size() const { return m_xSpinButton->get_preferred_size(); } weld::SpinButton& get_widget() { return m_xSpinButton->get_widget(); } int GetCoreValue(MapUnit eUnit) const { return ::GetCoreValue(*m_xSpinButton, eUnit); } |