sc/source/core/data/validat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 672da0902b406c88042dfa3b48dd565700514343 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jul 24 11:28:35 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Jul 24 17:16:12 2019 +0200 cid#1448321 Dereference after null check Change-Id: I724e4c19df9aa446f496b21ea5f3918e2def28da Reviewed-on: https://gerrit.libreoffice.org/76249 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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++; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits