]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYMatrix.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathXYMatrix.h
index 797b9f19bb4b72b5cd0bb5ea07d5bcdfc53dcf3c..4453d00d658e1a2d7cd56b63c5dbf699c17609f9 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.
  */
@@ -12,7 +12,7 @@
 #ifndef MATH_XYMATRIX_H
 #define MATH_XYMATRIX_H
 
-#include "LyXLength.h"
+#include "Length.h"
 #include "InsetMathGrid.h"
 
 
@@ -22,9 +22,9 @@ namespace lyx {
 class InsetMathXYMatrix : public InsetMathGrid {
 public:
        ///
-       InsetMathXYMatrix(LyXLength const & = LyXLength(), char c = '\0');
+       InsetMathXYMatrix(Length const & = Length(), char c = '\0');
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        InsetMathXYMatrix const * asXYMatrixInset() const { return this; }
        ///
@@ -46,9 +46,9 @@ public:
        void validate(LaTeXFeatures & features) const;
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// extra spacing, may be empty
-       LyXLength spacing_;
+       Length spacing_;
        ///
        char spacing_code_;
 };