]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathExFunc.h
index 9c03873cb1bcbda5031305233dc67f147215ab99..9f91649f3d83192da07e3b5e59f8190bfc5cb597 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.
  */
@@ -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<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        docstring const name_;
 };