]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.h
fix typo that put too many include paths for most people
[lyx.git] / src / lyxrow.h
index c28fc04381bd194b1ab3966761bf59caf4792186..f427b7a8a44aa189fcad9768637d73c3d18cfefe 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
@@ -16,7 +16,9 @@
 #pragma interface
 #endif
 
-#include "paragraph.h"
+#include "support/types.h"
+
+class Paragraph;
 
 ///
 class Row {
@@ -30,9 +32,9 @@ public:
        ///
        Paragraph * par() const;
        ///
-       void pos(Paragraph::size_type p);
+       void pos(lyx::pos_type p);
        ///
-       Paragraph::size_type pos() const;
+       lyx::pos_type pos() const;
        ///
        void fill(int f);
        ///
@@ -65,7 +67,7 @@ private:
        ///
        Paragraph * par_;
        ///
-       Paragraph::size_type pos_;
+       lyx::pos_type pos_;
        /** what is missing to a full row can be negative.
          Needed for hfills, flushright, block etc. */
        mutable int fill_;