diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 11:28:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 17:16:12 +0200 |
commit | 672da0902b406c88042dfa3b48dd565700514343 (patch) | |
tree | c0830d38b212d9298fe25915e33ef7ab79700944 /sc/source/core | |
parent | 29a2296af8c0d0e6a630bce1c064e1211047d014 (diff) |
cid#1448321 Dereference after null check
Change-Id: I724e4c19df9aa446f496b21ea5f3918e2def28da
Reviewed-on: https://gerrit.libreoffice.org/76249
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/validat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx index 0444dbf2ef5b..4e0e62ddcada 100644 --- a/sc/source/core/data/validat.cxx +++ b/sc/source/core/data/validat.cxx @@ -846,7 +846,7 @@ bool ScValidationData::GetSelectionFromFormula( if( pEntry ) { - assert(pEntry); + assert(pStrings); pStrings->push_back(*pEntry); n++; } |