code cleanup
This commit is contained in:
parent
67643c665f
commit
dc54809146
1 changed files with 1 additions and 2 deletions
|
@ -18,14 +18,13 @@ void ExcelReader::readSellersFromFile(const std::string& filename, Marketplace*
|
||||||
|
|
||||||
int rowCount{};
|
int rowCount{};
|
||||||
for (const auto& row : ws.rows(false)) {
|
for (const auto& row : ws.rows(false)) {
|
||||||
// auto test = row[0].value<int>();
|
|
||||||
if (rowCount < START_ROW) {
|
if (rowCount < START_ROW) {
|
||||||
++rowCount;
|
++rowCount;
|
||||||
continue;
|
continue;
|
||||||
} else if (rowCount > END_ROW) {
|
} else if (rowCount > END_ROW) {
|
||||||
break;
|
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;
|
++rowCount;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue