X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_numberinset.C;h=423912308f4f5bdafc88871ff514c0bd8ab1cf52;hb=92d522b7f1be6046adcac062c558bbf0bf021612;hp=d7b35f2b048816862de3095094785f479c941089;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/mathed/math_numberinset.C b/src/mathed/math_numberinset.C index d7b35f2b04..423912308f 100644 --- a/src/mathed/math_numberinset.C +++ b/src/mathed/math_numberinset.C @@ -13,19 +13,19 @@ MathNumberInset::MathNumberInset(string const & s) {} -MathInset * MathNumberInset::clone() const +InsetBase * MathNumberInset::clone() const { return new MathNumberInset(*this); } -void MathNumberInset::metrics(MathMetricsInfo & mi) const +void MathNumberInset::metrics(MetricsInfo & mi, Dimension & dim) const { - mathed_string_dim(mi.base.font, str_, dim_); + mathed_string_dim(mi.base.font, str_, dim); } -void MathNumberInset::draw(MathPainterInfo & pi, int x, int y) const +void MathNumberInset::draw(PainterInfo & pi, int x, int y) const { //lyxerr << "drawing '" << str_ << "' code: " << code_ << endl; drawStr(pi, pi.base.font, x, y, str_); @@ -38,13 +38,13 @@ void MathNumberInset::normalize(NormalStream & os) const } -void MathNumberInset::maplize(MapleStream & os) const +void MathNumberInset::maple(MapleStream & os) const { os << str_; } -void MathNumberInset::octavize(OctaveStream & os) const +void MathNumberInset::octave(OctaveStream & os) const { os << str_; }