mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
try that again
This commit is contained in:
parent
7a7d44b693
commit
cdb97fda82
|
@ -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<font>(text_font)))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user