]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathDelim.h
index abb7db609743899cb9135fd9360f7cbf1eb6d65e..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<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        mutable int dw_;
 };