X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2Fmath_sizeinset.C;h=e498cfdd28b1cdbdeb76db85f4728c08b3c8c165;hb=51e0c8bd1f265913a64fb46bc61fcfdb26f02303;hp=124f03bce35f214624c283107ba994f998ce7cc8;hpb=4665fc9c306dd3cd93a87a306e07902f7a4ac7f0;p=lyx.git diff --git a/src/mathed/math_sizeinset.C b/src/mathed/math_sizeinset.C index 124f03bce3..e498cfdd28 100644 --- a/src/mathed/math_sizeinset.C +++ b/src/mathed/math_sizeinset.C @@ -7,7 +7,7 @@ MathSizeInset::MathSizeInset(MathStyles st) - : MathInset(1), style_(st) + : MathNestInset(1), style_(st) { name_ = verbose(); } @@ -43,26 +43,26 @@ void MathSizeInset::draw(Painter & pain, int x, int y) } -void MathSizeInset::Metrics(MathStyles /* st */, int, int) +void MathSizeInset::metrics(MathStyles /* st */) { - xcell(0).Metrics(style_); + xcell(0).metrics(style_); ascent_ = xcell(0).ascent_; descent_ = xcell(0).descent_; width_ = xcell(0).width_; } -void MathSizeInset::Write(std::ostream & os, bool fragile) const +void MathSizeInset::write(std::ostream & os, bool fragile) const { os << "{\\" << name() << " "; - cell(0).Write(os, fragile); + cell(0).write(os, fragile); os << "}"; } -void MathSizeInset::WriteNormal(std::ostream & os) const +void MathSizeInset::writeNormal(std::ostream & os) const { os << "[" << name() << " "; - cell(0).WriteNormal(os); + cell(0).writeNormal(os); os << "]"; }