[Libreoffice-commits] core.git: Branch 'libreoffice-6-3-5' - cui/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 11 09:36:19 UTC 2020
cui/source/customize/acccfg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1a06c015d152d2af9c6f7c412657d0eac31ab94e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 5 16:42:34 2020 +0000
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Tue Feb 11 10:35:47 2020 +0100
Resolves: tdf#130340 null deref when nothing selected
Change-Id: Ie406006cbcca566ddd32fd86a7e88f0c754dd02e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88049
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
(cherry picked from commit 8f6c53c11ce9139fb2578332afa5783ec1a07a7f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88233
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 78351cdd187c..5f4b2ab3422d 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1186,7 +1186,7 @@ IMPL_LINK(SfxAcceleratorConfigPage, SelectHdl, weld::TreeView&, rListBox, void)
m_xRemoveButton->set_sensitive( false );
m_xChangeButton->set_sensitive( false );
- if (pEntry->m_bIsConfigurable)
+ if (pEntry && pEntry->m_bIsConfigurable)
{
if (pEntry->isConfigured())
m_xRemoveButton->set_sensitive(true);
More information about the Libreoffice-commits
mailing list