[Spreadsheet] remove superfluous nullptr checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user