]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathDecoration.h
index d7019ae1e8bded08ba6f4efabab60036b28c4e39..d0c7195216d676dbf1e9cc3e587d9cab1d386f34 100644 (file)
@@ -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;
        ///