]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.h
DocBook: escape IDs for InsetRef.
[lyx.git] / src / insets / InsetLine.h
index f6b8a600a57790681e2bf05f220809f3624748e1..4c918a872d0fe17022f44eb9522b3af7f48856ef 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,8 @@ 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;
+       void docbook(XMLStream &, 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;