X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathFrameBox.cpp;h=2e7508fe30660530082b9542d47421638a3571ce;hb=2640b2122838b7025b8494fb378b8927fca75831;hp=e77fe38fc6dd276fca4a7916d77eefe43700a382;hpb=f497296c30e6da2f97b16da8ad1c9e96feffb16b;p=lyx.git diff --git a/src/mathed/InsetMathFrameBox.cpp b/src/mathed/InsetMathFrameBox.cpp index e77fe38fc6..2e7508fe30 100644 --- a/src/mathed/InsetMathFrameBox.cpp +++ b/src/mathed/InsetMathFrameBox.cpp @@ -14,7 +14,7 @@ #include "MathData.h" #include "MathStream.h" #include "MathSupport.h" -#include "LColor.h" +#include "Color.h" #include "frontends/Painter.h" @@ -28,9 +28,9 @@ InsetMathFrameBox::InsetMathFrameBox() {} -auto_ptr InsetMathFrameBox::doClone() const +auto_ptr InsetMathFrameBox::doClone() const { - return auto_ptr(new InsetMathFrameBox(*this)); + return auto_ptr(new InsetMathFrameBox(*this)); } @@ -54,7 +54,7 @@ void InsetMathFrameBox::draw(PainterInfo & pi, int x, int y) const { FontSetChanger dummy(pi.base, "textnormal"); pi.pain.rectangle(x + 1, y - dim_.ascent() + 1, - dim_.width() - 2, dim_.height() - 2, LColor::foreground); + dim_.width() - 2, dim_.height() - 2, Color::foreground); x += 5; drawStrBlack(pi, x, y, from_ascii("["));