[Spreadsheet] remove superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 01:49:41 +02:00
parent fc548a4b34
commit ce86b03e0a
5 changed files with 18 additions and 18 deletions

View File

@@ -85,7 +85,7 @@ QVariant SheetModel::data(const QModelIndex &index, int role) const
int col = index.column();
const Cell * cell = sheet->getCell(CellAddress(row, col));
if (cell == nullptr)
if (!cell)
cell = emptyCell;
//#define DEBUG_DEPS