]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathSize.h
index 0795a2f126ea134a3a3d0d666937ea0129acc453..ec65c94a1adfbd2af7b85242a06e5df001e3676a 100644 (file)
@@ -29,7 +29,7 @@ public:
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -40,7 +40,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        latexkeys const * key_;
        ///