X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrow.h;h=f427b7a8a44aa189fcad9768637d73c3d18cfefe;hb=98c966c64594611e469313314abd1e59524adb4a;hp=c28fc04381bd194b1ab3966761bf59caf4792186;hpb=d1182f17daa1a164d9527ccbe6500840d7ac6bc8;p=lyx.git diff --git a/src/lyxrow.h b/src/lyxrow.h index c28fc04381..f427b7a8a4 100644 --- a/src/lyxrow.h +++ b/src/lyxrow.h @@ -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_;