diff --git a/source/cell/rich_text.cpp b/source/cell/rich_text.cpp index 3543b284..59d64af9 100644 --- a/source/cell/rich_text.cpp +++ b/source/cell/rich_text.cpp @@ -34,7 +34,7 @@ rich_text::rich_text(const std::string &plain_text) } rich_text::rich_text(const std::string &plain_text, const class font &text_font) - : rich_text(rich_text_run{plain_text, text_font}) + : rich_text(std::make_pair(plain_text, optional(text_font))) { }