]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.C
fix typo that put too many include paths for most people
[lyx.git] / src / lyxrow.C
index f5b816e511806188a79a45a0280f0619779e6464..3dbe39095f9f23fee7db15faa03773d663c1e7fe 100644 (file)
@@ -1,15 +1,19 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "lyxrow.h"
 
 
@@ -19,31 +23,19 @@ Row::Row()
 {}
 
 
-void Row::par(LyXParagraph * p)
+void Row::par(Paragraph * p)
 {
        par_ = p;
 }
 
 
-LyXParagraph * Row::par()
-{
-       return par_;
-}
-
-
-LyXParagraph * Row::par() const
-{
-       return par_;
-}
-
-
-void Row::pos(LyXParagraph::size_type p)
+void Row::pos(lyx::pos_type p)
 {
        pos_ = p;
 }
 
 
-LyXParagraph::size_type Row::pos() const
+lyx::pos_type Row::pos() const
 {
        return pos_;
 }
@@ -67,12 +59,6 @@ void Row::height(unsigned short h)
 }
 
 
-unsigned short Row::height() const
-{
-       return height_;
-}
-
-
 void Row::width(unsigned int w)
 {
        width_ = w;
@@ -115,12 +101,6 @@ void Row::next(Row * r)
 }
 
 
-Row * Row::next() const
-{
-       return next_;
-}
-
-
 void Row::previous(Row * r)
 {
        previous_ = r;