[Libreoffice-commits] core.git: svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 26 15:25:15 UTC 2019
svtools/source/uno/unoevent.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f501519a2d14684c63edbfcfa3362cddad9f4ec9
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jul 26 09:19:52 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jul 26 17:24:11 2019 +0200
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 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 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;
More information about the Libreoffice-commits
mailing list