]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathExFunc.h
index aa44fda798e9a1568c57134c86c8d2a0f2c20ef3..6eebd908d0a234a74e1831699c0f71193d4d3d37 100644 (file)
@@ -30,7 +30,7 @@ public:
        ///
        InsetMathExFunc(docstring const & name, MathData const & ar);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -48,7 +48,7 @@ public:
        void octave(OctaveStream &) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        docstring const name_;
 };