diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 11:57:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 15:30:15 +0100 |
commit | 91f54b1990153efd17ea5e33feffd1ec16b0387b (patch) | |
tree | 367bc38c21223a91f4089a408b5c8d0ae2254974 /sc | |
parent | 30ab660b07ab9aa72624a728d9e1f963507def7c (diff) |
weld URLBox ItemWindow
Change-Id: I7dad000404a188e2f5588b90d73ea9b1236bd301
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88183
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/cbnumberformat.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/inc/cbnumberformat.hxx | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/ui/cctrl/cbnumberformat.cxx b/sc/source/ui/cctrl/cbnumberformat.cxx index 830e24761d08..c02f342333df 100644 --- a/sc/source/ui/cctrl/cbnumberformat.cxx +++ b/sc/source/ui/cctrl/cbnumberformat.cxx @@ -58,6 +58,11 @@ ScNumberFormat::~ScNumberFormat() disposeOnce(); } +void ScNumberFormat::GetFocus() +{ + m_xWidget->grab_focus(); +} + IMPL_STATIC_LINK(ScNumberFormat, NumFormatSelectHdl, weld::ComboBox&, rBox, void) { auto* pCurSh = SfxViewFrame::Current(); diff --git a/sc/source/ui/inc/cbnumberformat.hxx b/sc/source/ui/inc/cbnumberformat.hxx index c2e2f40366bc..7edd3b7fe362 100644 --- a/sc/source/ui/inc/cbnumberformat.hxx +++ b/sc/source/ui/inc/cbnumberformat.hxx @@ -29,6 +29,8 @@ public: virtual void dispose() override; virtual ~ScNumberFormat() override; + virtual void GetFocus() override; + void set_active(int nPos) { m_xWidget->set_active(nPos); } private: |