mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix math macro plain text output
Previously it was not thread safe, and the translation could be wrong.
This commit is contained in:
parent
3cd15806bd
commit
3d492529bf
@ -1273,7 +1273,7 @@ docstring MathMacroTemplate::xhtml(XHTMLStream &, OutputParams const &) const
|
||||
int MathMacroTemplate::plaintext(odocstringstream & os,
|
||||
OutputParams const &, size_t) const
|
||||
{
|
||||
static docstring const str = '[' + buffer().B_("math macro") + ']';
|
||||
docstring const str = '[' + buffer().B_("math macro") + ']';
|
||||
|
||||
os << str;
|
||||
return str.size();
|
||||
|
Loading…
Reference in New Issue
Block a user