]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathDelim.h
index 61c230e4e9d4285d58dcdcf4a5d588459c17070b..84696316ef08ce0f68654bb95e000e6e99d31202 100644 (file)
@@ -40,7 +40,7 @@ public:
        ///
        mode_type currentMode() const { return MATH_MODE; }
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -63,7 +63,7 @@ public:
        ///
        docstring right_;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        mutable int dw_;
 };