]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFBox.cpp
LyXText -> Text
[lyx.git] / src / mathed / InsetMathFBox.cpp
index 135395bccb9bac0b94856624e749e8792fee34f5..de0e3559f1450ce10d0ad67a1ac623880160e08d 100644 (file)
@@ -11,9 +11,9 @@
 #include <config.h>
 
 #include "InsetMathFBox.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
-#include "LColor.h"
+#include "Color.h"
 
 #include "support/std_ostream.h"
 #include "frontends/Painter.h"
@@ -29,9 +29,9 @@ InsetMathFBox::InsetMathFBox()
 {}
 
 
-auto_ptr<InsetBase> InsetMathFBox::doClone() const
+auto_ptr<Inset> InsetMathFBox::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathFBox(*this));
+       return auto_ptr<Inset>(new InsetMathFBox(*this));
 }
 
 
@@ -56,7 +56,7 @@ bool InsetMathFBox::metrics(MetricsInfo & mi, Dimension & dim) const
 void InsetMathFBox::draw(PainterInfo & pi, int x, int y) const
 {
        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);
        FontSetChanger dummy(pi.base, "textnormal");
        cell(0).draw(pi, x + 3, y);
        setPosCache(pi, x, y);