]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parinset.C
tfracinset files is missing so all usage of tfrac is commented out
[lyx.git] / src / mathed / math_parinset.C
index 9d50bfdca79c2312562576c8328c45603bda13ea..28e2209f1f12d3bbf6ad02577ead2fa64389e924 100644 (file)
@@ -1,9 +1,19 @@
+/**
+ * \file math_parinset.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>
 
 #include "math_parinset.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
 
 
 MathParInset::MathParInset(MathArray const & ar)
@@ -12,11 +22,11 @@ MathParInset::MathParInset(MathArray const & ar)
 }
 
 
-Dimension MathParInset::metrics(MetricsInfo & mi) const
+void MathParInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        FontSetChanger dummy1(mi.base, "textnormal");
        MathGridInset::metrics(mi);
-       return dim_;
+       dim = dim_;
 }