mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Avoid implicit copy
This commit is contained in:
parent
38d387d1ab
commit
208e67c7a7
@ -66,7 +66,7 @@ void InsetMathFont::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
|
||||
void InsetMathFont::draw(PainterInfo & pi, int x, int y) const
|
||||
{
|
||||
FontSetChanger dummy(pi.base, key_->name.c_str());
|
||||
FontSetChanger dummy(pi.base, key_->name);
|
||||
cell(0).draw(pi, x + 1, y);
|
||||
drawMarkers(pi, x, y);
|
||||
setPosCache(pi, x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user