diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-27 07:22:21 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-27 20:10:03 +0200 |
commit | 646a6307b9a31376d85fa3ed12a314118d41d7cc (patch) | |
tree | a43fb1d36df08f2f3f9c78cde361edce99b848c1 /dbaccess | |
parent | 97ed3b93e1def081a535de14cc3c3644363cbd45 (diff) |
loplugin:unusedmethods
Change-Id: I66ef078794ed1eb44dbfa854c589545e5f9ba78e
Reviewed-on: https://gerrit.libreoffice.org/62407
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/admincontrols.cxx | 27 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/admincontrols.hxx | 2 |
2 files changed, 0 insertions, 29 deletions
diff --git a/dbaccess/source/ui/dlg/admincontrols.cxx b/dbaccess/source/ui/dlg/admincontrols.cxx index 15b67868c1af..22303969b09a 100644 --- a/dbaccess/source/ui/dlg/admincontrols.cxx +++ b/dbaccess/source/ui/dlg/admincontrols.cxx @@ -447,33 +447,6 @@ namespace dbaui m_xHostPortRadio->set_active(true); } - bool DBMySQLNativeSettings::canAdvance() const - { - if (m_xDatabaseName->get_text().isEmpty()) - return false; - - if ( m_xHostPortRadio->get_active() - && ( ( m_xHostName->get_text().isEmpty() ) - || ( m_xPort->get_text().isEmpty() ) - ) - ) - return false; - -#ifdef UNX - if ( ( m_xSocketRadio->get_active() ) - && ( m_xSocket->get_text().isEmpty() ) - ) -#else - if ( ( m_xNamedPipeRadio->get_active() ) - && ( m_xNamedPipe->get_text().isEmpty() ) - ) -#endif - return false; - - return true; - } - - } // namespace dbaui /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/ui/dlg/admincontrols.hxx b/dbaccess/source/ui/dlg/admincontrols.hxx index f608341de580..de6aed4fdc9e 100644 --- a/dbaccess/source/ui/dlg/admincontrols.hxx +++ b/dbaccess/source/ui/dlg/admincontrols.hxx @@ -95,8 +95,6 @@ namespace dbaui bool FillItemSet( SfxItemSet* rCoreAttrs ); void implInitControls( const SfxItemSet& _rSet ); - - bool canAdvance() const; }; } // namespace dbaui |