]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathBig.cpp
index e56acca0785c713ac60d8d2c1bc18ce7537ef2a2..3c5950b69ced2c96e2a306d2e301df0aba9f4f5b 100644 (file)
@@ -36,9 +36,9 @@ docstring InsetMathBig::name() const
 }
 
 
-auto_ptr<InsetBase> InsetMathBig::doClone() const
+auto_ptr<Inset> InsetMathBig::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathBig(*this));
+       return auto_ptr<Inset>(new InsetMathBig(*this));
 }
 
 
@@ -85,7 +85,7 @@ void InsetMathBig::draw(PainterInfo & pi, int x, int y) const
        docstring const delim = (delim_ == "\\|") ?  from_ascii("Vert") :
                (delim_ == "\\\\") ? from_ascii("\\") : support::ltrim(delim_, "\\");
        mathed_draw_deco(pi, x + 1, y - dim_.ascent(), 4, dim_.height(),
-                        delim);
+                        delim);
        setPosCache(pi, x, y);
 }