]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetVSpace.h
index 97b53f529d511e4e929c8765d56293b49798a0a9..7d511d9b223638c82201567548b4efd0c143c081 100644 (file)
@@ -29,7 +29,7 @@ public:
        ///
        ~InsetVSpace();
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -55,7 +55,7 @@ protected:
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        docstring const label() const;