From 9b7f5568d73749e4a8a1af8d1e668be2d7baf221 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Fri, 12 Jul 2019 15:53:19 +0200 Subject: [PATCH] import from excel until EOF --- src/core/excelreader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/excelreader.cpp b/src/core/excelreader.cpp index 4bc712f..a6fa139 100644 --- a/src/core/excelreader.cpp +++ b/src/core/excelreader.cpp @@ -23,16 +23,15 @@ std::size_t ExcelReader::readSellersFromFile(const fs::path& filePath, Marketpla auto ws = wb.sheet_by_index(0); const int START_ROW = 5; - const int END_ROW = 350; int rowCount{}; for (const auto& row : ws.rows(false)) { if (rowCount < START_ROW) { ++rowCount; continue; - } else if (rowCount > END_ROW) { + } /*else if (rowCount > END_ROW) { break; - } + }*/ if (row[2].value().empty() && row[3].value().empty()) { ++rowCount; continue;