]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.cpp
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathFont.cpp
index e079868a1a103f2a74fcc5cdcc64334aafc0c960..bfeeeff3977120bc30636c6f8b59481b614047aa 100644 (file)
@@ -28,9 +28,9 @@ InsetMathFont::InsetMathFont(latexkeys const * key)
 {}
 
 
-auto_ptr<InsetBase> InsetMathFont::doClone() const
+auto_ptr<Inset> InsetMathFont::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathFont(*this));
+       return auto_ptr<Inset>(new InsetMathFont(*this));
 }