X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_braceinset.C;h=614666d56efe84e74f253ef59ecded74bbd43e61;hb=d359dd8fca52c4f0100f7cf4bf636113c5c4e49f;hp=1d27ce03cb73fa40cfe94c542538f348a39e87a3;hpb=fe87869cb763c613c4dc36294efbd8edff175d54;p=lyx.git diff --git a/src/mathed/math_braceinset.C b/src/mathed/math_braceinset.C index 1d27ce03cb..614666d56e 100644 --- a/src/mathed/math_braceinset.C +++ b/src/mathed/math_braceinset.C @@ -8,7 +8,7 @@ #include "math_parser.h" #include "math_support.h" #include "math_mathmlstream.h" - +#include "support/LOstream.h" using std::max; @@ -18,6 +18,13 @@ MathBraceInset::MathBraceInset() {} +MathBraceInset::MathBraceInset(MathArray const & ar) + : MathNestInset(1) +{ + cell(0) = ar; +} + + MathInset * MathBraceInset::clone() const { return new MathBraceInset(*this); @@ -55,3 +62,9 @@ void MathBraceInset::normalize(NormalStream & os) const { os << "[block " << cell(0) << ']'; } + + +void MathBraceInset::infoize(std::ostream & os) const +{ + os << "Nested Block: "; +}