]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathExFunc.h
index 5f150eeab994448562280f58cf2663b905d59214..6eebd908d0a234a74e1831699c0f71193d4d3d37 100644 (file)
@@ -28,9 +28,9 @@ public:
        ///
        explicit InsetMathExFunc(docstring const & name);
        ///
-       InsetMathExFunc(docstring const & name, MathArray const & ar);
+       InsetMathExFunc(docstring const & name, MathData const & ar);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -48,7 +48,7 @@ public:
        void octave(OctaveStream &) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        docstring const name_;
 };