]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parinset.C
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_parinset.C
index 24d0853937a44dd9d18f0f4384e77aba6670c622..83eb131c3d7bb4c9bcaa798d2ea925299a513cfe 100644 (file)
@@ -1,9 +1,18 @@
+/**
+ * \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_mathmlstream.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
 
 
 MathParInset::MathParInset(MathArray const & ar)
@@ -12,16 +21,17 @@ MathParInset::MathParInset(MathArray const & ar)
 }
 
 
-void MathParInset::metrics(MathMetricsInfo & mi) const
+void MathParInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       MathFontSetChanger dummy1(mi.base, "textnormal");
+       FontSetChanger dummy1(mi.base, "textnormal");
        MathGridInset::metrics(mi);
+       dim = dim_;
 }
 
 
-void MathParInset::draw(MathPainterInfo & pi, int x, int y) const
+void MathParInset::draw(PainterInfo & pi, int x, int y) const
 {
-       MathFontSetChanger dummy1(pi.base, "textnormal");
+       FontSetChanger dummy1(pi.base, "textnormal");
        MathGridInset::draw(pi, x, y);
 }