]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.C
Move #includes out of header files.
[lyx.git] / src / metricsinfo.C
index 8980218c8d6e6b367df382bdd2f297b3860afbb8..85ee9edb634b9d9e70b22e28a2e785180753c79c 100644 (file)
@@ -1,3 +1,12 @@
+/**
+ * \file metricsinfo.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
 #include <config.h>
 
 
 MetricsBase::MetricsBase()
        : bv(0), font(), style(LM_ST_TEXT), fontname("mathnormal"),
-         restrictwidth(false), textwidth(0)
+         textwidth(0)
 {}
 
 
 
 MetricsBase::MetricsBase(BufferView * b, LyXFont const & f, int w)
        : bv(b), font(f), style(LM_ST_TEXT), fontname("mathnormal"),
-         restrictwidth(false), textwidth(w)
+         textwidth(w)
 {}
 
 
@@ -149,7 +158,6 @@ WidthChanger::WidthChanger(MetricsBase & mb, int w)
        :       Changer<MetricsBase>(mb)
 {
        save_ = mb;
-       mb.restrictwidth = true;
        mb.textwidth     = w;
 }