]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_oversetinset.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_oversetinset.C
index c9be27e05e47bf4b65a89726aabeff9ab7b041a9..ed4670407bdd501d8f47efe493b9fe37e250f020 100644 (file)
@@ -21,7 +21,7 @@ using std::max;
 using std::auto_ptr;
 
 
-auto_ptr<InsetBase> MathOversetInset::clone() const
+auto_ptr<InsetBase> MathOversetInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathOversetInset(*this));
 }
@@ -82,5 +82,5 @@ void MathOversetInset::normalize(NormalStream & os) const
 void MathOversetInset::validate(LaTeXFeatures & features) const
 {
        features.require("amsmath");
+       MathNestInset::validate(features);
 }
-