X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParIterator.h;h=a7631838382f4c8159086bdd1512a00f1040ed5c;hb=4089ff1ec36292a37866c81d844e9ebd6dffd850;hp=f5e74ca8dc4f5d7271a52cc6bc79c53f29813327;hpb=0a64dfa594f44ded5022588b42f49c40b2eb2d49;p=lyx.git diff --git a/src/ParIterator.h b/src/ParIterator.h index f5e74ca8dc..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,7 +94,7 @@ class ParConstIterator : public std::iterator