diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 13:21:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 17:12:12 +0200 |
commit | 8eb8636e02d23c6d23bcdbd0257b095ea844fbed (patch) | |
tree | 7794252eba9cb102ead4972a0698a8acc554077e | |
parent | a53bad1909ba3571453f0e7281f4b435084e18f0 (diff) |
drop OGeneralPageWizard::GetFocus
Change-Id: I0ad65590053460f23f1a6dcaace24d47dbbf39b1
Reviewed-on: https://gerrit.libreoffice.org/79457
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | dbaccess/source/ui/dlg/generalpage.cxx | 9 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/generalpage.hxx | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx index 5fe9655c37e9..c703a2fdba8d 100644 --- a/dbaccess/source/ui/dlg/generalpage.cxx +++ b/dbaccess/source/ui/dlg/generalpage.cxx @@ -504,15 +504,6 @@ namespace dbaui return eOpenExisting; } - void OGeneralPageWizard::GetFocus() - { - OGeneralPage::GetFocus(); - if ( m_xLB_DocumentList && m_xLB_DocumentList->get_sensitive() ) - m_xLB_DocumentList->grab_focus(); - else if ( m_xDatasourceType && m_xDatasourceType->get_sensitive() ) - m_xDatasourceType->grab_focus(); - } - void OGeneralPageWizard::implInitControls( const SfxItemSet& _rSet, bool _bSaveValue ) { OGeneralPage::implInitControls( _rSet, _bSaveValue ); diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx index 2b18c1c80ca9..4200b16483d2 100644 --- a/dbaccess/source/ui/dlg/generalpage.hxx +++ b/dbaccess/source/ui/dlg/generalpage.hxx @@ -162,8 +162,6 @@ namespace dbaui private: virtual bool FillItemSet( SfxItemSet* _rCoreAttrs ) override; - virtual void GetFocus() override; - virtual void implInitControls( const SfxItemSet& _rSet, bool _bSaveValue ) override; virtual OUString getDatasourceName( const SfxItemSet& _rSet ) override; virtual bool approveDatasourceType( ::dbaccess::DATASOURCE_TYPE eType, OUString& _inout_rDisplayName ) override; |