diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 0e0db0d0d0..49928c5de5 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -100,6 +100,13 @@ MathHullInset::MathHullInset(MathInsetTypes t) } +MathHullInset::MathHullInset(MathInsetTypes t, MathGridInset const & grid) + : MathGridInset(grid), objtype_(t), nonum_(1), label_(1) +{ + setDefaults(); +} + + MathHullInset::MathHullInset(MathInsetTypes t, col_type cols) : MathGridInset(cols, 1), objtype_(t), nonum_(1), label_(1) { diff --git a/src/mathed/math_hullinset.h b/src/mathed/math_hullinset.h index c2747fb14e..35c63f12a2 100644 --- a/src/mathed/math_hullinset.h +++ b/src/mathed/math_hullinset.h @@ -21,6 +21,8 @@ public: /// explicit MathHullInset(MathInsetTypes t); /// + MathHullInset(MathInsetTypes t, MathGridInset const & grid); + /// MathHullInset(MathInsetTypes t, col_type cols); /// MathInset * clone() const; diff --git a/src/mathed/math_sizeinset.h b/src/mathed/math_sizeinset.h index 9fefc55db0..d9e992e27d 100644 --- a/src/mathed/math_sizeinset.h +++ b/src/mathed/math_sizeinset.h @@ -25,6 +25,9 @@ public: void metrics(MathMetricsInfo const & st) const; /// void draw(Painter &, int x, int y) const; + /// + bool needsBraces() const { return false; } + /// void write(WriteStream & os) const; ///