diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-26 09:13:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-26 11:55:33 +0100 |
commit | 8e1768551643420addbfb4349e838579380bfa01 (patch) | |
tree | 0799fd02c8c91103164950ec34a32e088a2d9dc1 /sc | |
parent | f4253900e26e0c1434c19f6af74930a8b5b470b9 (diff) |
cid#1494444 silence Dereference null return value
Change-Id: I7c6c60489a58378238ff63ff9c6b45f3a7aa4bf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125866
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table3.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 4da4f23c59b4..2eae384f397a 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -3210,6 +3210,7 @@ bool ScTable::ValidQuery( else if( pBlockPos ) { // hinted mdds access ScColumn* column = FetchColumn(nCol); + assert(column); aCell = column->GetCellValue(*pBlockPos->getBlockPosition( nCol ), nRow); } else |