X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParIterator.h;h=a7631838382f4c8159086bdd1512a00f1040ed5c;hb=0e740018ff15aa005f024b0c4ebbf68079778b3b;hp=86ae70edd8debce6e091ba943c541a3c5673123e;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/ParIterator.h b/src/ParIterator.h index 86ae70edd8..a763183838 100644 --- a/src/ParIterator.h +++ b/src/ParIterator.h @@ -16,11 +16,10 @@ #include "support/types.h" -#include - namespace lyx { +class Buffer; class Inset; class Text; class ParagraphList; @@ -38,10 +37,11 @@ public: typedef StdIt::reference reference; /// - ParIterator() : DocIterator() {} + /// + ParIterator(Buffer * buf) : DocIterator(buf) {} /// - ParIterator(Inset &, pit_type pit); + ParIterator(Buffer * buf, Inset &, pit_type pit); /// ParIterator(ParIterator const &); /// @@ -94,7 +94,7 @@ class ParConstIterator : public std::iterator