]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.C
Fix natbib bug spotted by JMarc.
[lyx.git] / src / lyxrow.C
index 8cb91b846556635bc60b671a8f9e2c1d391ddde4..804cbc7e99517f640363a1a401522f5710e25df1 100644 (file)
@@ -1,8 +1,8 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
@@ -29,13 +29,13 @@ void Row::par(Paragraph * p)
 }
 
 
-void Row::pos(Paragraph::size_type p)
+void Row::pos(lyx::pos_type p)
 {
        pos_ = p;
 }
 
 
-Paragraph::size_type Row::pos() const
+lyx::pos_type Row::pos() const
 {
        return pos_;
 }
@@ -83,6 +83,18 @@ unsigned short Row::ascent_of_text() const
 }
 
 
+void Row::top_of_text(unsigned int top)
+{
+       top_of_text_ = top;
+}
+
+unsigned int Row::top_of_text() const
+{
+       return top_of_text_;
+}
+
 void Row::baseline(unsigned int b)
 {
        baseline_ = b;