]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.cpp
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathRoot.cpp
index 324d804f6bd51c6f84bf976a6080c313cf37e381..fc7d1d5ade51a1d8085197fa3b08ea2095042fa0 100644 (file)
@@ -15,7 +15,7 @@
 #include "MathData.h"
 #include "MathStream.h"
 #include "Cursor.h"
-#include "LColor.h"
+#include "Color.h"
 
 #include "frontends/Painter.h"
 
@@ -32,9 +32,9 @@ InsetMathRoot::InsetMathRoot()
 {}
 
 
-auto_ptr<InsetBase> InsetMathRoot::doClone() const
+auto_ptr<Inset> InsetMathRoot::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathRoot(*this));
+       return auto_ptr<Inset>(new InsetMathRoot(*this));
 }
 
 
@@ -68,7 +68,7 @@ void InsetMathRoot::draw(PainterInfo & pi, int x, int y) const
        xp[2] = x + w;             yp[2] = y + d;
        xp[3] = x + w - 2;         yp[3] = y + (d - a)/2 + 2;
        xp[4] = x + w - 5;         yp[4] = y + (d - a)/2 + 4;
-       pi.pain.lines(xp, yp, 5, LColor::math);
+       pi.pain.lines(xp, yp, 5, Color::math);
        drawMarkers(pi, x, y);
 }