Mod: [skip ci] minor improvements

This commit is contained in:
wmayer
2022-08-06 20:32:37 +02:00
parent 0ed91f1b6a
commit 1f20e692ac
2 changed files with 2 additions and 2 deletions

View File

@@ -208,7 +208,7 @@ bool Sheet::importFromFile(const std::string &filename, char delimiter, char quo
tokenizer<escaped_list_separator<char> > tok(line, e);
for(tokenizer<escaped_list_separator<char> >::iterator i = tok.begin(); i != tok.end();++i) {
if ((*i).size() > 0)
if (!i->empty())
setCell(CellAddress(row, col), (*i).c_str());
col++;
}