]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.cpp
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / mathed / InsetMathSpace.cpp
index 8d3df0930b28499ebd585483ec25fcbeec27948e..eab748dfdac6fe62bb56e40d39d459d2026d4f42 100644 (file)
@@ -15,7 +15,7 @@
 #include "MathStream.h"
 
 #include "LaTeXFeatures.h"
-#include "LColor.h"
+#include "Color.h"
 
 #include "frontends/Painter.h"
 
@@ -75,9 +75,9 @@ InsetMathSpace::InsetMathSpace(docstring const & name)
 }
 
 
-auto_ptr<InsetBase> InsetMathSpace::doClone() const
+auto_ptr<Inset> InsetMathSpace::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathSpace(*this));
+       return auto_ptr<Inset>(new InsetMathSpace(*this));
 }
 
 
@@ -109,7 +109,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) ? LColor::latex : LColor::math);
+       pi.pain.lines(xp, yp, 4, (space_ < 3) ? Color::latex : Color::math);
 }