X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXYArrow.cpp;h=3449271568c848eda98c56995d22f1ab1facf3dd;hb=7f17f13bfc2ad4e7cdd8ecfce23374e2b3d0c646;hp=1853c2e4d946ddee65b044afec0aea2306c88431;hpb=31059d1741933d95403e7f07ed033cae482f778b;p=lyx.git diff --git a/src/mathed/InsetMathXYArrow.cpp b/src/mathed/InsetMathXYArrow.cpp index 1853c2e4d9..3449271568 100644 --- a/src/mathed/InsetMathXYArrow.cpp +++ b/src/mathed/InsetMathXYArrow.cpp @@ -28,9 +28,9 @@ InsetMathXYArrow::InsetMathXYArrow() {} -std::auto_ptr InsetMathXYArrow::clone() const +std::auto_ptr InsetMathXYArrow::clone() const { - return std::auto_ptr(new InsetMathXYArrow(*this)); + return std::auto_ptr(new InsetMathXYArrow(*this)); } @@ -133,7 +133,7 @@ void InsetMathXYArrow::draw(PainterInfo & pi, int x, int y) const pi.pain.text(x, y, "X"); MathData const & s = sourceCell(); MathData const & t = targetCell(); - pi.pain.line(s.xm(), s.ym(), t.xm(), t.ym(), LColor::math); + pi.pain.line(s.xm(), s.ym(), t.xm(), t.ym(), Color::math); cell(1).draw(pi, (s.xm() + t.xm())/2, (s.ym() + t.ym())/2); }