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>
This commit is contained in:
Caolán McNamara
2019-09-24 13:21:34 +01:00
parent a53bad1909
commit 8eb8636e02
2 changed files with 0 additions and 11 deletions

View File

@@ -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 );

View File

@@ -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;