code cleanup

This commit is contained in:
Martin Brodbeck 2018-08-02 14:42:15 +02:00
parent 67643c665f
commit dc54809146
1 changed files with 1 additions and 2 deletions

View File

@ -18,14 +18,13 @@ void ExcelReader::readSellersFromFile(const std::string& filename, Marketplace*
int rowCount{};
for (const auto& row : ws.rows(false)) {
// auto test = row[0].value<int>();
if (rowCount < START_ROW) {
++rowCount;
continue;
} else if (rowCount > END_ROW) {
break;
}
if(row[2].value<std::string>().empty() && row[3].value<std::string>().empty()) {
if (row[2].value<std::string>().empty() && row[3].value<std::string>().empty()) {
++rowCount;
continue;
}