[Libreoffice-commits] core.git: svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 25 07:27:26 UTC 2019
svtools/source/uno/unoevent.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit c597be9bb60e31d32370e79a2989ff54bee8e8ec
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 24 11:11:24 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 25 09:27:00 2019 +0200
cid#1448414 silence Explicit null dereferenced
Change-Id: I8f378b935929cedfab30aa98b89a026c272dca2e
Reviewed-on: https://gerrit.libreoffice.org/76246
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index 4604af791521..ab955e46489e 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -456,6 +456,7 @@ SvMacroTableEventDescriptor::SvMacroTableEventDescriptor(
const SvEventDescription* pSupportedMacroItems) :
SvDetachedEventDescriptor(pSupportedMacroItems)
{
+ assert(pSupportedMacroItems);
for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != SvMacroItemId::NONE; i++)
{
const SvMacroItemId nEvent = mpSupportedMacroItems[i].mnEvent;
More information about the Libreoffice-commits
mailing list