summaryrefslogtreecommitdiffstats
path: root/dbaccess/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-24 13:21:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-24 17:12:12 +0200
commit8eb8636e02d23c6d23bcdbd0257b095ea844fbed (patch)
tree7794252eba9cb102ead4972a0698a8acc554077e /dbaccess/source
parentget environment RTL mode without vcl::Window (diff)
downloadcore-8eb8636e02d23c6d23bcdbd0257b095ea844fbed.tar.gz
core-8eb8636e02d23c6d23bcdbd0257b095ea844fbed.zip
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>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/dlg/generalpage.cxx9
-rw-r--r--dbaccess/source/ui/dlg/generalpage.hxx2
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;