]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.C
Fix natbib bug spotted by JMarc.
[lyx.git] / src / lyxrow.C
index d043dcfbf760890ac69f383a6d94bdecafb642a9..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.
  *
@@ -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;