+#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.
*
#include <config.h>
-#include "Inset.heorem.h"
+#include "InsetTheorem.h"
#include "insets/InsetText.h"
#include "debug.h"
}
-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;
}
} // namespace lyx
+
+#endif