X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSqrt.cpp;h=95df08bd2b1d85ebb0b0c87cebf14c2cf1ef04e0;hb=2640b2122838b7025b8494fb378b8927fca75831;hp=55d773c946df7648f34703ff8615e240e4b8f2c7;hpb=31059d1741933d95403e7f07ed033cae482f778b;p=lyx.git diff --git a/src/mathed/InsetMathSqrt.cpp b/src/mathed/InsetMathSqrt.cpp index 55d773c946..95df08bd2b 100644 --- a/src/mathed/InsetMathSqrt.cpp +++ b/src/mathed/InsetMathSqrt.cpp @@ -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 InsetMathSqrt::doClone() const +auto_ptr InsetMathSqrt::doClone() const { - return auto_ptr(new InsetMathSqrt(*this)); + return auto_ptr(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); }