From: Georg Baum Date: Sun, 30 Nov 2014 11:59:00 +0000 (+0100) Subject: Avoid implicit copy X-Git-Tag: 2.2.0alpha1~1493 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=208e67c7a75d6584d1ebb278b9e6322e7db4a024;p=features.git Avoid implicit copy --- diff --git a/src/mathed/InsetMathFont.cpp b/src/mathed/InsetMathFont.cpp index b49985829a..18af75d528 100644 --- a/src/mathed/InsetMathFont.cpp +++ b/src/mathed/InsetMathFont.cpp @@ -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);