]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.cpp
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / MathMacroTemplate.cpp
index 5650b4012fff701a61af964c3b079cbff10e8bb5..028390533f910ab1ef3160c1116d2fba69d65e02 100644 (file)
@@ -72,9 +72,9 @@ MathMacroTemplate::MathMacroTemplate(docstring const & str)
 }
 
 
-auto_ptr<InsetBase> MathMacroTemplate::doClone() const
+auto_ptr<Inset> MathMacroTemplate::doClone() const
 {
-       return auto_ptr<InsetBase>(new MathMacroTemplate(*this));
+       return auto_ptr<Inset>(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);