]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrameBox.cpp
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathFrameBox.cpp
index e77fe38fc6dd276fca4a7916d77eefe43700a382..2e7508fe30660530082b9542d47421638a3571ce 100644 (file)
@@ -14,7 +14,7 @@
 #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("["));