[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 22 14:50:42 UTC 2019
sc/source/core/data/validat.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8cb28ba37198fb0cfb18a408c7796bc6c0faf5c1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 22 11:37:47 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jul 22 16:49:54 2019 +0200
cid#1448321 Dereference after null check
Change-Id: Ic8f70f01ea78d40ae1676c2d6561fa39dcb8ae9e
Reviewed-on: https://gerrit.libreoffice.org/76113
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 2ea5ffe2559c..0444dbf2ef5b 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -846,6 +846,7 @@ bool ScValidationData::GetSelectionFromFormula(
if( pEntry )
{
+ assert(pEntry);
pStrings->push_back(*pEntry);
n++;
}
More information about the Libreoffice-commits
mailing list