* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "InsetMathPar.h"
+
#include "MathData.h"
#include "MathStream.h"
-#include "support/std_ostream.h"
+#include <ostream>
namespace lyx {
-InsetMathPar::InsetMathPar(MathData const & ar)
+InsetMathPar::InsetMathPar(Buffer * buf, MathData const & ar)
+ : InsetMathHull(buf)
{
cells_[0] = ar;
}
void InsetMathPar::metrics(MetricsInfo & mi, Dimension & dim) const
{
FontSetChanger dummy1(mi.base, "textnormal");
- InsetMathGrid::metrics(mi);
- dim = dim_;
+ InsetMathGrid::metrics(mi, dim);
}