diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 11:11:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-25 09:27:00 +0200 |
commit | c597be9bb60e31d32370e79a2989ff54bee8e8ec (patch) | |
tree | ed338896a1524f9b99a239f0cc5148c61002eb3d /svtools/source/uno/unoevent.cxx | |
parent | bf3cfa0256c37e0ac6db5066c731b1a3f2291407 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source/uno/unoevent.cxx')
-rw-r--r-- | svtools/source/uno/unoevent.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; |