summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-26 09:19:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-26 17:24:11 +0200
commitf501519a2d14684c63edbfcfa3362cddad9f4ec9 (patch)
treee66d0ba45d230b2000b8f6004c674ae86f86059f /svtools
parent008a98d7cac16277dd88959339f172e11df74fba (diff)
cid#1448414 silence Explicit null dereferenced
Change-Id: Ia9ddcf960e2bef2ea8db72018602302dc6914bb5 Reviewed-on: https://gerrit.libreoffice.org/76364 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/unoevent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index ab955e46489e..dfd43f93d46a 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -456,7 +456,7 @@ SvMacroTableEventDescriptor::SvMacroTableEventDescriptor(
const SvEventDescription* pSupportedMacroItems) :
SvDetachedEventDescriptor(pSupportedMacroItems)
{
- assert(pSupportedMacroItems);
+ assert(mpSupportedMacroItems);
for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != SvMacroItemId::NONE; i++)
{
const SvMacroItemId nEvent = mpSupportedMacroItems[i].mnEvent;