From 7162f265c1d4258f5118754f86b3aae3d8fd996c Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sun, 27 Nov 2016 18:47:37 +0100 Subject: [PATCH] debug gcc exception --- source/workbook/tests/test_produce_xlsx.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/workbook/tests/test_produce_xlsx.hpp b/source/workbook/tests/test_produce_xlsx.hpp index 38e7770d..66d8a005 100644 --- a/source/workbook/tests/test_produce_xlsx.hpp +++ b/source/workbook/tests/test_produce_xlsx.hpp @@ -159,9 +159,10 @@ public: auto sheet1 = wb.get_active_sheet(); sheet1.get_cell("A1").set_value("Sheet1!A1"); - formatted_run.set_string("Sheet1 comment"); - comment_text.add_run(formatted_run); - sheet1.get_cell("A1").comment(xlnt::comment(comment_text, "Microsoft Office User")); +// formatted_run.set_string("Sheet1 comment"); +// comment_text.add_run(formatted_run); +// sheet1.get_cell("A1").comment(xlnt::comment(comment_text, "Microsoft Office User")); + sheet1.get_cell("A1").comment("Sheet1 comment"); /* sheet1.get_cell("A2").set_value("Sheet1!A2"); formatted_run.set_string("Sheet1 comment2");