]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathKern.h
index 8a1e3ee04770031e936c2d73925b3b595bbe9244..be0e82166e68768bf0ae1ef5b8cc5bb6e4aff4dc 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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_;
 };