[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 18 15:14:41 UTC 2019
sw/source/ui/fldui/fldtdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit e9a13d06f300cc653d2d1b19e5764bcf836a9d4b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 17 20:44:27 2019 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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
More information about the Libreoffice-commits
mailing list