Mod: remove some unnecessary nullptr checks
This commit is contained in:
@@ -52,7 +52,7 @@ PropertiesDialog::PropertiesDialog(Sheet *_sheet, const std::vector<Range> &_ran
|
||||
|
||||
Cell * cell = sheet->getNewCell(*range);
|
||||
|
||||
assert(cell != nullptr);
|
||||
assert(cell);
|
||||
|
||||
(void)cell->getForeground(foregroundColor);
|
||||
(void)cell->getBackground(backgroundColor);
|
||||
|
||||
Reference in New Issue
Block a user