X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSqrt.cpp;h=23ded20156eb97e9c6d9dea34901d8e8f860a21c;hb=eea79637c78bb9916031924eca7b305cfb8e83df;hp=81d88cee1dd0ca988fd06d0e56a5e2d2c5fedf0c;hpb=1f07a7f929d34b0d64d839d5d7963ed60e04b5a3;p=features.git diff --git a/src/mathed/InsetMathSqrt.cpp b/src/mathed/InsetMathSqrt.cpp index 81d88cee1d..23ded20156 100644 --- a/src/mathed/InsetMathSqrt.cpp +++ b/src/mathed/InsetMathSqrt.cpp @@ -14,7 +14,6 @@ #include "MathData.h" #include "MathStream.h" #include "TextPainter.h" -#include "Color.h" #include "frontends/Painter.h" @@ -52,11 +51,11 @@ void InsetMathSqrt::draw(PainterInfo & pi, int x, int y) const int xp[3]; int yp[3]; pi.pain.line(x + dim.width(), y - a + 1, - x + 8, y - a + 1, Color::math); + x + 8, y - a + 1, Color_math); xp[0] = x + 8; yp[0] = y - a + 1; xp[1] = x + 5; yp[1] = y + d - 1; xp[2] = x; yp[2] = y + (d - a)/2; - pi.pain.lines(xp, yp, 3, Color::math); + pi.pain.lines(xp, yp, 3, Color_math); drawMarkers(pi, x, y); }