]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetTheorem.h
index 0b337323cb6b67913815427b0f5b5c7dc1fecb58..302fce7f8fdb81018d02469d61a999e5037c275e 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"
 
@@ -30,7 +31,7 @@ public:
        ///
        Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -39,7 +40,7 @@ public:
        ///
        virtual docstring const editMessage() const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        ///
        mutable unsigned int center_indent_;
@@ -49,3 +50,5 @@ private:
 } // namespace lyx
 
 #endif
+
+#endif