]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Point fix, earlier forgotten
[lyx.git] / src / paragraph.h
index 68de3902ba726283c4c95e5ed7fe1d856d77d01e..6f0c26648dcfeef62b8c697e26b92c5959717115 100644 (file)
@@ -79,13 +79,13 @@ public:
        bool isMultiLingual(BufferParams const &);
 
        ///
-       string const asString(Buffer const *, bool label) const;
+       string const asString(Buffer const &, bool label) const;
        ///
-       string const asString(Buffer const *, lyx::pos_type beg, lyx::pos_type end,
+       string const asString(Buffer const &, lyx::pos_type beg, lyx::pos_type end,
                              bool label) const;
 
        ///
-       void write(Buffer const *, std::ostream &, BufferParams const &,
+       void write(Buffer const &, std::ostream &, BufferParams const &,
                       depth_type & depth) const;
        ///
        void validate(LaTeXFeatures &) const;
@@ -103,7 +103,7 @@ public:
 
 
        ///
-       bool simpleTeXOnePar(Buffer const *, BufferParams const &,
+       bool simpleTeXOnePar(Buffer const &, BufferParams const &,
                             LyXFont const & outerfont, std::ostream &,
                             TexRow & texrow, LatexRunParams const &);
 
@@ -303,6 +303,8 @@ public:
 
        ///
        mutable RowList rows;
+       /// last draw y position (baseline of top row)
+       int y;
 
 private:
        ///