debug gcc exception

This commit is contained in:
Thomas Fussell 2016-11-27 18:41:46 +01:00
parent 85f62083c9
commit ec42f3c3ac

View File

@ -162,12 +162,13 @@ public:
formatted_run.set_string("Sheet1 comment"); formatted_run.set_string("Sheet1 comment");
comment_text.add_run(formatted_run); comment_text.add_run(formatted_run);
sheet1.get_cell("A1").comment(xlnt::comment(comment_text, "Microsoft Office User")); sheet1.get_cell("A1").comment(xlnt::comment(comment_text, "Microsoft Office User"));
/*
sheet1.get_cell("A2").set_value("Sheet1!A2"); sheet1.get_cell("A2").set_value("Sheet1!A2");
formatted_run.set_string("Sheet1 comment2"); formatted_run.set_string("Sheet1 comment2");
comment_text.clear(); comment_text.clear();
comment_text.add_run(formatted_run); comment_text.add_run(formatted_run);
sheet1.get_cell("A2").comment(xlnt::comment(comment_text, "Microsoft Office User")); sheet1.get_cell("A2").comment(xlnt::comment(comment_text, "Microsoft Office User"));
*/
/* /*
auto sheet2 = wb.create_sheet(); auto sheet2 = wb.create_sheet();
sheet2.get_cell("A1").set_value("Sheet2!A1"); sheet2.get_cell("A1").set_value("Sheet2!A1");