]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_deliminset.C
mathed30.diff
[features.git] / src / mathed / math_deliminset.C
index 0f340feeb222b08dbf1247a19b2a40ea23fa9462..0b8e11977b56469645f357b3c8698a1847dba10f 100644 (file)
@@ -17,10 +17,7 @@ MathDelimInset::MathDelimInset(int l, int r, short st)
 
 MathedInset * MathDelimInset::Clone()
 {   
-       MathDelimInset * p = new MathDelimInset(left_, right_, GetStyle());
-       MathedIter it(array);
-       p->setData(it.Copy());
-       return p;
+       return new MathDelimInset(*this);
 }