X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParIterator.h;h=a7631838382f4c8159086bdd1512a00f1040ed5c;hb=889182eb1a19da1cb4d5b5efeea434a5e6592ef0;hp=2d61f9af1264f073cde39a0898035633c02997b6;hpb=24fdfc7d5e6c8f85dcb1ed83ec42a53d40776a52;p=lyx.git diff --git a/src/ParIterator.h b/src/ParIterator.h index 2d61f9af12..a763183838 100644 --- a/src/ParIterator.h +++ b/src/ParIterator.h @@ -4,7 +4,7 @@ * Licence details can be found in the file COPYING. * * \author unknown - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -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,12 +94,13 @@ class ParConstIterator : public std::iterator