]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetVSpace.h
index 21afbcd03605392a1f999bf0e46fc4a9c656d570..08e8ea882ec922051e7f95b1f2d357ff0caca58f 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        InsetVSpace() : Inset(0) {}
        ///
-       InsetVSpace(VSpace const &);
+       explicit InsetVSpace(VSpace const &);
        /// How much?
        VSpace const & space() const { return space_; }
        ///
@@ -56,13 +56,13 @@ private:
        /// The normal case is that this inset will be on a line by
        /// itself, and in that case the present paragraph will not,
        /// in fact, appear at all.
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void read(Lexer & lex);
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///