]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.cpp
InsetListings: change the interface of diaplay function and allow AlignLeft. Applied...
[lyx.git] / src / insets / InsetTheorem.cpp
index 5aed74af9d993c28838932e88b5b67db014da20a..8e663a4310d3e1782bdd9000e8593b89ae8436f1 100644 (file)
@@ -15,8 +15,8 @@
 
 #include "debug.h"
 #include "gettext.h"
-#include "LyXFont.h"
-#include "LyXText.h"
+#include "Font.h"
+#include "Text.h"
 #include "MetricsInfo.h"
 
 #include "support/std_ostream.h"
@@ -39,7 +39,7 @@ Inset.heorem::InsetTheorem()
        : InsetCollapsable()
 {
        setLabel(_("theorem"));
-       LyXFont font(LyXFont::ALL_SANE);
+       Font font(Font::ALL_SANE);
        font.decSize();
        font.decSize();
        font.setColor(Color::collapsable);
@@ -53,7 +53,7 @@ Inset.heorem::InsetTheorem()
 
 void Inset.heorem::write(Buffer const * buf, ostream & os) const
 {
-       os << insetName() << "\n";
+       os << name() << "\n";
        InsetCollapsable::write(buf, os);
 }