]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetSpace.h
index 8f17dc61663f38d57616ade106afb92e65bff741..d2a1b6c944cd9cc4762e1d6194f000a0df84242d 100644 (file)
@@ -56,7 +56,7 @@ public:
        ///
        Kind kind() const;
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -73,10 +73,9 @@ public:
        int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
        /// the string that is passed to the TOC
-       virtual int textString(Buffer const &, odocstream &,
-               OutputParams const &) const;
+       void textString(Buffer const &, odocstream &) const;
        ///
-       Inset::Code lyxCode() const { return Inset::SPACE_CODE; }
+       InsetCode lyxCode() const { return SPACE_CODE; }
        /// We don't need \begin_inset and \end_inset
        bool directWrite() const { return true; }