]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_decorationinset.C
mathed30.diff
[features.git] / src / mathed / math_decorationinset.C
index db3c44bc1931783d67afc86568424637418ca941..45bea19ae6331d70e32d966d786b7c08ca86bcf9 100644 (file)
@@ -24,10 +24,7 @@ bool MathDecorationInset::GetLimits() const
 
 MathedInset * MathDecorationInset::Clone()
 {   
-   MathDecorationInset * p = new MathDecorationInset(deco_, GetStyle());
-   MathedIter it(array);
-   p->setData(it.Copy());
-   return p;
+       return new MathDecorationInset(*this);
 }