]> 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 41ede3c4d32176bd5158870cdf2bae6efb693c3b..eab748dfdac6fe62bb56e40d39d459d2026d4f42 100644 (file)
 #include <config.h>
 
 #include "InsetMathSpace.h"
-#include "MathArray.h"
+#include "MathData.h"
 #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);
 }