]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSqrt.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathSqrt.h
index bd8f46606659ac7e9713b6e222ba89ab9254759e..7db7ff641d89888942d2e01ca053a056718ecb53 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void drawT(TextPainter &, int x, int y) const;
        ///
@@ -46,7 +46,7 @@ public:
        ///
        void mathmlize(MathStream &) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };