[Libreoffice-commits] core.git: dbaccess/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sun Dec 13 19:30:54 UTC 2020


 dbaccess/source/ui/control/FieldDescControl.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6bb353ae98f5eac1fab2523771f1f97e5707694d
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Fri Dec 11 23:15:43 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Dec 13 20:30:11 2020 +0100

    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/+/107610
    Tested-by: Jenkins
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index 8f3854f3740d..525b5a580be3 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()


More information about the Libreoffice-commits mailing list