]> git.lyx.org Git - features.git/blobdiff - src/mathed/formulabase.C
fix memory leak; cosmetics
[features.git] / src / mathed / formulabase.C
index 166b9d82f65c1b710f7c7ce2bcd7f7c64b98998f..bed687f8a3ce0950f793eb0046c3f1a1eab6fe20 100644 (file)
@@ -135,7 +135,7 @@ InsetFormulaBase::InsetFormulaBase(MathInset * par)
 
 
 InsetFormulaBase::InsetFormulaBase(InsetFormulaBase const & f)
-       : UpdatableInset(f), par_(static_cast<MathInset *>(f.par_->clone()))
+       : UpdatableInset(f), par_(f.par_->clone())
 {}