]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.h
pimpl not needed here
[lyx.git] / src / insets / InsetTheorem.h
index c5b1b977120cbf482cf0ad4b4f56c37d2fb23051..bf20efbd2db3c85f49b9c0ec9e06157cfa88732b 100644 (file)
@@ -9,9 +9,10 @@
  * Full author contact details are available in file CREDITS.
  */
 
-#ifndef Inset.heorem_H
-#define Inset.heorem_H
+#if 0
 
+#ifndef INSETTHEOREM_H
+#define INSETTHEOREM_H
 
 #include "InsetCollapsable.h"
 
@@ -28,7 +29,7 @@ public:
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
-       Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
+       InsetCode lyxCode() const { return THEOREM_CODE; }
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -49,3 +50,5 @@ private:
 } // namespace lyx
 
 #endif
+
+#endif