diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 0431b44f11..f08108e561 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -252,7 +252,6 @@ bool MathHullInset::numberedType() const void MathHullInset::validate(LaTeXFeatures & features) const { - if (ams()) features.require("amsstyle"); diff --git a/src/mathed/math_mathmlstream.C b/src/mathed/math_mathmlstream.C index 5df3372c40..5579ddc60d 100644 --- a/src/mathed/math_mathmlstream.C +++ b/src/mathed/math_mathmlstream.C @@ -227,3 +227,17 @@ WriteStream & WriteStream::operator<<(char c) ++line_; return *this; } + + +WriteStream & WriteStream::operator<<(int i) +{ + os << i; + return *this; +} + + +WriteStream & WriteStream::operator<<(unsigned int i) +{ + os << i; + return *this; +} diff --git a/src/mathed/math_mathmlstream.h b/src/mathed/math_mathmlstream.h index 330086fdec..76ec853ac7 100644 --- a/src/mathed/math_mathmlstream.h +++ b/src/mathed/math_mathmlstream.h @@ -115,6 +115,10 @@ struct WriteStream { WriteStream & operator<<(char const *); /// WriteStream & operator<<(char); + /// + WriteStream & operator<<(int); + /// + WriteStream & operator<<(unsigned int); /// Buffer const * buffer;