]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYMatrix.h
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathXYMatrix.h
index 9afc176347806c947c81f419b4459f83cd081fde..1d5cd2f735f8b3ad088907602510695e216ec659 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        InsetMathXYMatrix(Length const & = Length(), char c = '\0');
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        InsetMathXYMatrix const * asXYMatrixInset() const { return this; }
        ///
@@ -46,7 +46,7 @@ public:
        void validate(LaTeXFeatures & features) const;
 private:
        ///
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// extra spacing, may be empty
        Length spacing_;
        ///