diff --git a/source/cell/rich_text.cpp b/source/cell/rich_text.cpp index fb333817..3543b284 100644 --- a/source/cell/rich_text.cpp +++ b/source/cell/rich_text.cpp @@ -29,7 +29,7 @@ namespace xlnt { rich_text::rich_text(const std::string &plain_text) - : rich_text(rich_text_run{plain_text, {}}) + : rich_text(std::make_pair(plain_text, optional())) { }