sc/source/core/data/validat.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8cb28ba37198fb0cfb18a408c7796bc6c0faf5c1
Author: Caolán McNamara <[email protected]>
AuthorDate: Mon Jul 22 11:37:47 2019 +0100
Commit: Caolán McNamara <[email protected]>
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 <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
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++;
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits