1000 by 1000 is a bit extreme

This commit is contained in:
Thomas Fussell 2015-09-29 00:31:37 -04:00
parent 8bade9c709
commit 63e072a8cb

View File

@ -24,11 +24,11 @@ int main()
{ {
auto sheet = workbook.create_sheet("Sheet" + std::to_string(i)); auto sheet = workbook.create_sheet("Sheet" + std::to_string(i));
for(int row = 0; row < 1000; row++) for(int row = 0; row < 100; row++)
{ {
for(int column = 0; column < 1000; column++) for(int column = 0; column < 100; column++)
{ {
sheet[xlnt::cell_reference(column, row)].set_value(row * 1000 + column); sheet[xlnt::cell_reference(column, row)].set_value(row * 100 + column);
} }
} }
} }