]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.cpp
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetTheorem.cpp
index 6ff0e99c9017b20d5161687824f986dfdbff116a..312f60b0ecf0f9e659e9158c0d7ff0ae9ad80b47 100644 (file)
@@ -1,5 +1,6 @@
+#if 0
 /**
- * \file Inset.heorem.cpp
+ * \file InsetTheorem.cpp
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -10,7 +11,7 @@
 
 #include <config.h>
 
-#include "Inset.heorem.h"
+#include "InsetTheorem.h"
 #include "insets/InsetText.h"
 
 #include "debug.h"
@@ -67,14 +68,11 @@ Inset * InsetTheorem::clone() const
 }
 
 
-bool Inset.heorem::metrics(MetricsInfo & mi, Dimension & dim) const
+void Inset.heorem::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        InsetCollapsable::metrics(mi, dim);
        center_indent_ = (mi.base.textwidth - dim.wid) / 2;
        dim.wid = mi.base.textwidth;
-       bool const changed = dim_ != dim;
-       dim_ = dim;
-       return changed;
 }
 
 
@@ -103,3 +101,5 @@ int Inset.heorem::latex(Buffer const * buf, odocstream & os,
 
 
 } // namespace lyx
+
+#endif