diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-09 20:46:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-10 15:20:40 +0100 |
commit | 48a307b69713a244e747b3a4d444d6793d59b8d9 (patch) | |
tree | ea67c623b2e4dc156be2bd8a558e367ab8ad354b /sc | |
parent | abfdfe6ac1bfc917d1693874f9dec80167e0806f (diff) |
weld SvxFmAbsRecWin item window
Change-Id: I6a11d8ba226b28447e2ab04925090491d6953132
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/cbnumberformat.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/cbnumberformat.cxx b/sc/source/ui/cctrl/cbnumberformat.cxx index c02f342333df..93f003ebe01d 100644 --- a/sc/source/ui/cctrl/cbnumberformat.cxx +++ b/sc/source/ui/cctrl/cbnumberformat.cxx @@ -60,7 +60,9 @@ ScNumberFormat::~ScNumberFormat() void ScNumberFormat::GetFocus() { - m_xWidget->grab_focus(); + if (m_xWidget) + m_xWidget->grab_focus(); + InterimItemWindow::GetFocus(); } IMPL_STATIC_LINK(ScNumberFormat, NumFormatSelectHdl, weld::ComboBox&, rBox, void) |