X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_braceinset.C;h=614666d56efe84e74f253ef59ecded74bbd43e61;hb=d359dd8fca52c4f0100f7cf4bf636113c5c4e49f;hp=81d3cc4bfd102a883edee24eae75e8f843652f5f;hpb=2c3ae20fc2ed8a1e9d8e46be5b20d3fc88b48dfc;p=lyx.git diff --git a/src/mathed/math_braceinset.C b/src/mathed/math_braceinset.C index 81d3cc4bfd..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);