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 /sfx2/source/view/classificationcontroller.cxx | |
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 'sfx2/source/view/classificationcontroller.cxx')
-rw-r--r-- | sfx2/source/view/classificationcontroller.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/view/classificationcontroller.cxx b/sfx2/source/view/classificationcontroller.cxx index e335d6d05927..034606623afa 100644 --- a/sfx2/source/view/classificationcontroller.cxx +++ b/sfx2/source/view/classificationcontroller.cxx @@ -106,7 +106,9 @@ class SAL_WARN_UNUSED ClassificationControl final : public InterimItemWindow void DataChanged(const DataChangedEvent& rEvent) override; void GetFocus() override { - m_xCategory->grab_focus(); + if (m_xCategory) + m_xCategory->grab_focus(); + InterimItemWindow::GetFocus(); } public: |