X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathMacroTemplate.cpp;h=028390533f910ab1ef3160c1116d2fba69d65e02;hb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;hp=5650b4012fff701a61af964c3b079cbff10e8bb5;hpb=5008ee540f84715cd10e87f3fa0cd5dc7b974784;p=lyx.git diff --git a/src/mathed/MathMacroTemplate.cpp b/src/mathed/MathMacroTemplate.cpp index 5650b4012f..028390533f 100644 --- a/src/mathed/MathMacroTemplate.cpp +++ b/src/mathed/MathMacroTemplate.cpp @@ -72,9 +72,9 @@ MathMacroTemplate::MathMacroTemplate(docstring const & str) } -auto_ptr MathMacroTemplate::doClone() const +auto_ptr MathMacroTemplate::doClone() const { - return auto_ptr(new MathMacroTemplate(*this)); + return auto_ptr(new MathMacroTemplate(*this)); } @@ -142,7 +142,7 @@ void MathMacroTemplate::draw(PainterInfo & p, int x, int y) const setPosCache(p, x, y); // label - LyXFont font = p.base.font; + Font font = p.base.font; font.setColor(Color::math); PainterInfo pi(p.base.bv, p.pain);