]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathDecoration.h
index d7019ae1e8bded08ba6f4efabab60036b28c4e39..c317e50e49848c26605dace3b3b26289e6cc44f1 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -30,7 +30,7 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void normalize(NormalStream & os) const;
        ///
@@ -41,7 +41,7 @@ public:
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool upper() const;
        ///