]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathBig.h
index 80a2199f85aabe7a305642fa07234b9715d09d3c..2736669b58628a87060af6f616c2c83b4594a2de 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        docstring name() const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -40,7 +40,7 @@ public:
        static bool isBigInsetDelim(docstring const &);
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        size_type size() const;
        ///