]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSqrt.cpp
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathSqrt.cpp
index 55d773c946df7648f34703ff8615e240e4b8f2c7..95df08bd2b1d85ebb0b0c87cebf14c2cf1ef04e0 100644 (file)
@@ -14,7 +14,7 @@
 #include "MathData.h"
 #include "MathStream.h"
 #include "TextPainter.h"
-#include "LColor.h"
+#include "Color.h"
 #include "frontends/Painter.h"
 
 
@@ -28,9 +28,9 @@ InsetMathSqrt::InsetMathSqrt()
 {}
 
 
-auto_ptr<InsetBase> InsetMathSqrt::doClone() const
+auto_ptr<Inset> InsetMathSqrt::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathSqrt(*this));
+       return auto_ptr<Inset>(new InsetMathSqrt(*this));
 }
 
 
@@ -59,7 +59,7 @@ void InsetMathSqrt::draw(PainterInfo & pi, int x, int y) const
        xp[1] = x + 8;            yp[1] = y - a + 1;
        xp[2] = x + 5;            yp[2] = y + d - 1;
        xp[3] = x;                yp[3] = y + (d - a)/2;
-       pi.pain.lines(xp, yp, 4, LColor::math);
+       pi.pain.lines(xp, yp, 4, Color::math);
        drawMarkers(pi, x, y);
 }