diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-12-11 23:15:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-13 21:43:01 +0100 |
commit | 226a83f10cd6d0716002fcbf142d170d51bf309e (patch) | |
tree | 47b915c7c7549a767b5ad4ccdd5f07ad8c5d0386 /dbaccess | |
parent | c4fb3b2a36ae044906b79012a33ee43ec989778a (diff) |
tdf#138834: fix crash in table creation wizard when clicking next
See bt here:
https://bugs.documentfoundation.org/attachment.cgi?id=168082
Change-Id: Icc89803bd89ce82d4699eef3cfe7892395d0634f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107625
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/FieldDescControl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index f0d9b9ee4468..2e0813d5ff61 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -78,7 +78,8 @@ OFieldDescControl::OFieldDescControl(weld::Container* pPage, OTableDesignHelpBar , m_nEditWidth(50) , pActFieldDescr(nullptr) { - m_pHelp->connect_focus_out(LINK(this, OFieldDescControl, HelpFocusOut)); + if (m_pHelp) + m_pHelp->connect_focus_out(LINK(this, OFieldDescControl, HelpFocusOut)); } OFieldDescControl::~OFieldDescControl() |