From 63e072a8cbeebb8bb8e5500acb2881b8b77cf867 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Tue, 29 Sep 2015 00:31:37 -0400 Subject: [PATCH] 1000 by 1000 is a bit extreme --- docs/samples/sample1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/samples/sample1.cpp b/docs/samples/sample1.cpp index 5ca2d83e..32072925 100644 --- a/docs/samples/sample1.cpp +++ b/docs/samples/sample1.cpp @@ -24,11 +24,11 @@ int main() { 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); } } }