]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetSpace.h
index 459afedcca667a4e46cfe7a8a070d8f26cd2bc98..d2a1b6c944cd9cc4762e1d6194f000a0df84242d 100644 (file)
@@ -58,8 +58,6 @@ public:
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
-       Dimension const dimension(BufferView const &) const { return dim_; };
-       ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(Buffer const &, std::ostream &) const;
@@ -75,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; }
 
@@ -94,8 +91,6 @@ private:
 
        /// And which kind is this?
        Kind kind_;
-       ///
-       mutable Dimension dim_;
 };