X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSpace.cpp;h=7d44accf7bd2146919a953d62332611c67dd73aa;hb=11a6b3c4c7a031fd3776f53c9c43f62116933cea;hp=af8b77ea3ee2cfdcb59c3513b18d4270b883d801;hpb=237c132c1e6fc720b87f2fea6deb18a8395cbe0a;p=lyx.git diff --git a/src/mathed/InsetMathSpace.cpp b/src/mathed/InsetMathSpace.cpp index af8b77ea3e..7d44accf7b 100644 --- a/src/mathed/InsetMathSpace.cpp +++ b/src/mathed/InsetMathSpace.cpp @@ -15,11 +15,10 @@ #include "MathStream.h" #include "LaTeXFeatures.h" -#include "Color.h" #include "frontends/Painter.h" -using std::string; +using namespace std; namespace lyx { @@ -101,7 +100,7 @@ void InsetMathSpace::draw(PainterInfo & pi, int x, int y) const xp[2] = x + w - 2; yp[2] = y; xp[3] = x + w - 2; yp[3] = y - 3; - pi.pain.lines(xp, yp, 4, (space_ < 3) ? Color::latex : Color::math); + pi.pain.lines(xp, yp, 4, (space_ < 3) ? Color_latex : Color_math); }