]> 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 d27c0443c5bc496de692c731e6973470803f73a2..8e663a4310d3e1782bdd9000e8593b89ae8436f1 100644 (file)
@@ -16,7 +16,7 @@
 #include "debug.h"
 #include "gettext.h"
 #include "Font.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "MetricsInfo.h"
 
 #include "support/std_ostream.h"
@@ -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);
 }