summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-01 17:11:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-02 13:52:07 +0200
commit87e33c3c1c481ee38d03f66412374cd9bd2d76cb (patch)
tree0df38a0e381c5284dc7963ab135108d09ee49658 /dbaccess
parent3ee5c24a03516892dfc58b4fe1211b21562b6cec (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 'dbaccess')
-rw-r--r--dbaccess/source/ui/inc/SqlNameEdit.hxx1
-rw-r--r--dbaccess/source/ui/inc/WTypeSelect.hxx1
-rw-r--r--dbaccess/source/ui/inc/opendoccontrols.hxx3
3 files changed, 0 insertions, 5 deletions
diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx b/dbaccess/source/ui/inc/SqlNameEdit.hxx
index 609382af40fa..97c42cfdc6b2 100644
--- a/dbaccess/source/ui/inc/SqlNameEdit.hxx
+++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx
@@ -110,7 +110,6 @@ namespace dbaui
OUString get_text() const { return m_xEntry->get_text(); }
void set_text(const OUString& rText) { m_xEntry->set_text(rText); }
void set_max_length(int nLen) { m_xEntry->set_max_length(nLen); }
- void set_sensitive(bool bSensitive) { m_xEntry->set_sensitive(bSensitive); }
virtual void save_value() override { m_xEntry->save_value(); }
virtual bool get_value_changed_from_saved() const override
{
diff --git a/dbaccess/source/ui/inc/WTypeSelect.hxx b/dbaccess/source/ui/inc/WTypeSelect.hxx
index ddcbf17fa409..343383a27be9 100644
--- a/dbaccess/source/ui/inc/WTypeSelect.hxx
+++ b/dbaccess/source/ui/inc/WTypeSelect.hxx
@@ -73,7 +73,6 @@ namespace dbaui
void SetPKey(bool bPKey) { m_bPKey = bPKey; }
weld::TreeView* GetWidget() { return m_xControl.get(); }
OUString get_selected_id() const { return m_xControl->get_selected_id(); }
- void show() { m_xControl->show(); }
void clear() { m_xControl->clear(); }
void append(const OUString& rId, const OUString& rStr)
{
diff --git a/dbaccess/source/ui/inc/opendoccontrols.hxx b/dbaccess/source/ui/inc/opendoccontrols.hxx
index 9ab29b624dee..6642585a9511 100644
--- a/dbaccess/source/ui/inc/opendoccontrols.hxx
+++ b/dbaccess/source/ui/inc/opendoccontrols.hxx
@@ -42,7 +42,6 @@ namespace dbaui
OpenDocumentButton(std::unique_ptr<weld::Button> xControl, const char* _pAsciiModuleName);
void set_sensitive(bool bSensitive) { m_xControl->set_sensitive(bSensitive); }
- bool get_sensitive() const { return m_xControl->get_sensitive(); }
void connect_clicked(const Link<weld::Button&, void>& rLink) { m_xControl->connect_clicked(rLink); }
private:
@@ -65,8 +64,6 @@ namespace dbaui
OUString GetSelectedDocumentURL() const;
void set_sensitive(bool bSensitive) { m_xControl->set_sensitive(bSensitive); }
- bool get_sensitive() const { return m_xControl->get_sensitive(); }
- void grab_focus() { m_xControl->grab_focus(); }
int get_count() const { return m_xControl->get_count(); }
void set_active(int nPos) { m_xControl->set_active(nPos); }
void connect_changed(const Link<weld::ComboBox&, void>& rLink) { m_xControl->connect_changed(rLink); }