summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-22 11:37:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-22 16:49:54 +0200
commit8cb28ba37198fb0cfb18a408c7796bc6c0faf5c1 (patch)
tree47baf2db22650af6f542201dbdf2565da641332e /sc
parent7c6d6e30c09756c6daf9961995356b5e0805b107 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/validat.cxx1
1 files changed, 1 insertions, 0 deletions
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++;
}