#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "math_boxinset.h"
#include "math_support.h"
void MathBoxInset::write(WriteStream & os) const
{
- os << "\\" << name_ << "{" << cell(0) << "}";
+ os << '\\' << name_ << '{' << cell(0) << '}';
}
void MathBoxInset::metrics(MathMetricsInfo & mi) const
{
MathFontSetChanger dummy(mi.base, "textnormal");
- xcell(0).metrics(mi);
- dim_ = xcell(0).dim();
+ cell(0).metrics(mi);
+ dim_ = cell(0).dim();
metricsMarkers2();
}
void MathBoxInset::draw(MathPainterInfo & pi, int x, int y) const
{
MathFontSetChanger dummy(pi.base, "textnormal");
- xcell(0).draw(pi, x, y);
+ cell(0).draw(pi, x, y);
drawMarkers2(pi, x + 1, y);
}