mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
use make_pair instead of braced initializer in rich_text constructor
This commit is contained in:
parent
760f95e2df
commit
7a7d44b693
|
@ -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<font>()))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user