X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_exintinset.C;h=e26a74e6b69890d8e0a40749839bafab48e96e19;hb=e093e5e80c334995a77445c8e66a9f3c9594dda1;hp=81e6b8398049e5a14aa87ee218af9a3c415b6da1;hpb=f70513fe19b91d91e44d9dbf33572041457eebb7;p=lyx.git diff --git a/src/mathed/math_exintinset.C b/src/mathed/math_exintinset.C index 81e6b83980..e26a74e6b6 100644 --- a/src/mathed/math_exintinset.C +++ b/src/mathed/math_exintinset.C @@ -7,7 +7,7 @@ #include "math_symbolinset.h" #include "debug.h" -#include +#include using std::endl; @@ -44,19 +44,19 @@ bool MathExIntInset::hasScripts() const void MathExIntInset::normalize(NormalStream & os) const { - os << '[' << symbol_ << ' ' << cell(0) << ' ' << cell(1) << ' ' + os << '[' << symbol_ << ' ' << cell(0) << ' ' << cell(1) << ' ' << cell(2) << ' ' << cell(3) << ']'; } -void MathExIntInset::metrics(MathMetricsInfo const &) const +void MathExIntInset::metrics(MathMetricsInfo &) const { lyxerr << "should not happen" << endl; } -void MathExIntInset::draw(Painter &, int, int) const -{ +void MathExIntInset::draw(MathPainterInfo &, int, int) const +{ lyxerr << "should not happen" << endl; } @@ -66,7 +66,7 @@ void MathExIntInset::maplize(MapleStream & os) const os << symbol_ << '('; if (cell(0).size()) os << cell(0); - else + else os << '1'; os << ',' << cell(1); if (hasScripts()) @@ -80,7 +80,7 @@ void MathExIntInset::mathmlize(MathMLStream & os) const boost::scoped_ptr sym(new MathSymbolInset(symbol_)); //if (hasScripts()) // mathmlize(sym, os); - //else + //else sym->mathmlize(os); os << cell(0) << "" << MTag("mrow") << "" @@ -92,4 +92,3 @@ void MathExIntInset::write(WriteStream &) const { lyxerr << "should not happen" << endl; } -