]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.C
Fix bug 2481
[lyx.git] / src / mathed / math_binominset.C
index 7e3016271ab553e174d64965977a972678d3b443..c2718bb049726d0afe2ad7a98e0118cb8c30333e 100644 (file)
@@ -25,7 +25,7 @@ MathBinomInset::MathBinomInset(bool choose)
 {}
 
 
-auto_ptr<InsetBase> MathBinomInset::clone() const
+auto_ptr<InsetBase> MathBinomInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathBinomInset(*this));
 }
@@ -68,6 +68,12 @@ void MathBinomInset::draw(PainterInfo & pi, int x, int y) const
 }
 
 
+bool MathBinomInset::extraBraces() const
+{
+       return choose_;
+}
+
+
 void MathBinomInset::write(WriteStream & os) const
 {
        if (choose_)