sw/source/ui/fldui/fldtdlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e9a13d06f300cc653d2d1b19e5764bcf836a9d4b
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Jul 17 20:44:27 2019 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jul 18 17:13:28 2019 +0200

    cid#1448377 silence Dereference null return value
    
    Change-Id: I8e124f005622091f7c3e989042c5298640ba819b
    Reviewed-on: https://gerrit.libreoffice.org/75816
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx
index b3425050f45a..8c1bb998fb85 100644
--- a/sw/source/ui/fldui/fldtdlg.cxx
+++ b/sw/source/ui/fldui/fldtdlg.cxx
@@ -150,6 +150,7 @@ IMPL_LINK_NOARG(SwFieldDlg, OKHdl, weld::Button&, void)
     if (GetOKButton().get_sensitive())
     {
         SfxTabPage* pPage = GetTabPage(GetCurPageId());
+        assert(pPage);
         pPage->FillItemSet(nullptr);
 
         GetOKButton().grab_focus();  // because of InputField-Dlg
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to