Mod: use empty
This commit is contained in:
@@ -224,7 +224,7 @@ PropertiesDialog::~PropertiesDialog()
|
||||
|
||||
void PropertiesDialog::apply()
|
||||
{
|
||||
if (ranges.size() > 0) {
|
||||
if (!ranges.empty()) {
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Set cell properties"));
|
||||
std::vector<Range>::const_iterator i = ranges.begin();
|
||||
bool changes = false;
|
||||
|
||||
Reference in New Issue
Block a user