Avoid implicit copy

This commit is contained in:
Georg Baum 2014-11-30 12:59:00 +01:00
parent 38d387d1ab
commit 208e67c7a7

View File

@ -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);