]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parinset.C
fix #1073
[lyx.git] / src / mathed / math_parinset.C
index 96d4a6cb66d36bacc60727d036062789c45fec41..03bb1d6c32f763515922a6f2186fdfb1cfc1f14b 100644 (file)
@@ -1,19 +1,27 @@
 
+#include <config.h>
+
 #include "math_parinset.h"
 #include "math_mathmlstream.h"
-#include "debug.h"
+#include "support/LOstream.h"
+
+
+MathParInset::MathParInset(MathArray const & ar)
+{
+       cells_[0] = ar;
+}
 
 
-void MathParInset::metrics(MathMetricsInfo & mi) const
+void MathParInset::metrics(MetricsInfo & mi) const
 {
-       MathFontSetChanger dummy1(mi.base, "textnormal");
+       FontSetChanger dummy1(mi.base, "textnormal");
        MathGridInset::metrics(mi);
 }
 
 
-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);
 }
 
@@ -29,4 +37,3 @@ void MathParInset::infoize(std::ostream & os) const
 {
        os << "Type: Paragraph ";
 }
-