]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrameBox.cpp
remove unneeded header.
[lyx.git] / src / mathed / InsetMathFrameBox.cpp
index 252589894129086a4c0aa047e60b431472669216..2e7508fe30660530082b9542d47421638a3571ce 100644 (file)
 #include <config.h>
 
 #include "InsetMathFrameBox.h"
-#include "MathArray.h"
+#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<InsetBase> InsetMathFrameBox::doClone() const
+auto_ptr<Inset> InsetMathFrameBox::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathFrameBox(*this));
+       return auto_ptr<Inset>(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("["));