]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLim.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathLim.h
index 2a8f3e390bf140e408a48d2136f49b2abf48b5b3..ce52638ed8f55c34677d783b3f4d55e34fe2899c 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        InsetMathLim(MathData const & f, MathData const & x, MathData const & x0);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -43,7 +43,7 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };