]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.h
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetLine.h
index f6b8a600a57790681e2bf05f220809f3624748e1..7be587028ffb9e9a55005ad68292530e9b72954e 100644 (file)
@@ -31,7 +31,7 @@ public:
        //@{
        docstring screenLabel() const;
        static ParamInfo const & findInfo(std::string const &);
-       static std::string defaultCommand() { return "rule"; };
+       static std::string defaultCommand() { return "rule"; }
        static bool isCompatibleCommand(std::string const & s)
        { return s == "rule"; }
        //@}
@@ -41,10 +41,9 @@ private:
        /// Inset inherited methods.
        //@{
        InsetCode lyxCode() const { return LINE_CODE; }
-       Dimension const dimension(BufferView const &) const;
        int docbook(odocstream &, OutputParams const &) const;
        /// Does nothing at the moment.
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        bool hasSettings() const { return true; }
        void metrics(MetricsInfo &, Dimension &) const;
        void draw(PainterInfo & pi, int x, int y) const;