[Libreoffice-commits] core.git: dbaccess/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 24 15:13:44 UTC 2019
dbaccess/source/ui/dlg/generalpage.cxx | 9 ---------
dbaccess/source/ui/dlg/generalpage.hxx | 2 --
2 files changed, 11 deletions(-)
New commits:
commit 8eb8636e02d23c6d23bcdbd0257b095ea844fbed
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 24 13:21:34 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Sep 24 17:12:12 2019 +0200
drop OGeneralPageWizard::GetFocus
Change-Id: I0ad65590053460f23f1a6dcaace24d47dbbf39b1
Reviewed-on: https://gerrit.libreoffice.org/79457
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list