X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_casesinset.C;h=5d992788c1a8a0253fa2a37b99e7b22e71425d4f;hb=c9e78a825bd659ddb7b4b55a6adfa7f0a1a98dd6;hp=09992ed670ed78391e9aaf186f18b313dc6c10b7;hpb=04330047dd59710b134ee99817cda076029d943c;p=lyx.git diff --git a/src/mathed/math_casesinset.C b/src/mathed/math_casesinset.C index 09992ed670..5d992788c1 100644 --- a/src/mathed/math_casesinset.C +++ b/src/mathed/math_casesinset.C @@ -1,8 +1,5 @@ #include -#ifdef __GNUG__ -#pragma implementation -#endif #include "math_casesinset.h" #include "math_parser.h" @@ -25,7 +22,7 @@ MathInset * MathCasesInset::clone() const void MathCasesInset::metrics(MathMetricsInfo & mi) const { MathGridInset::metrics(mi); - width_ += 8; + dim_.w += 8; } @@ -52,15 +49,15 @@ void MathCasesInset::normalize(NormalStream & os) const { os << "[cases "; MathGridInset::normalize(os); - os << "]"; + os << ']'; } -void MathCasesInset::maplize(MapleStream & os) const +void MathCasesInset::maple(MapleStream & os) const { os << "cases("; - MathGridInset::maplize(os); - os << ")"; + MathGridInset::maple(os); + os << ')'; }