]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
pimpl not needed here
[lyx.git] / src / insets / InsetSpace.h
index 459afedcca667a4e46cfe7a8a070d8f26cd2bc98..6896789e1bd00759f66fffccbbcac9a5dfaf504e 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;
@@ -78,7 +76,7 @@ public:
        virtual int textString(Buffer const &, odocstream &,
                OutputParams const &) 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 +92,6 @@ private:
 
        /// And which kind is this?
        Kind kind_;
-       ///
-       mutable Dimension dim_;
 };