]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathKern.h
index 8a1e3ee04770031e936c2d73925b3b595bbe9244..6bafa80ca7eb6e74d315e22e0dbe3b4674446cd0 100644 (file)
@@ -31,7 +31,7 @@ public:
        ///
        explicit InsetMathKern(docstring const & wid);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -39,7 +39,7 @@ public:
        ///
        void normalize(NormalStream & ns) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// width in em
        Length wid_;
 };