X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontIterator.h;h=7776f5f4df18eeed8a813ace4bddd225fbdb893c;hb=6a55be9506b112110826cf63bc21786044569f1d;hp=e52c67b17591fef5d314df0e758052c4214fb212;hpb=0d43ba149a41e8860dde316ccbd4336d6b0bbdfa;p=lyx.git diff --git a/src/FontIterator.h b/src/FontIterator.h index e52c67b175..7776f5f4df 100644 --- a/src/FontIterator.h +++ b/src/FontIterator.h @@ -25,14 +25,15 @@ #include "support/types.h" class LyXText; +class Paragraph; class FontIterator : std::iterator { public: /// - FontIterator(LyXText const & text, lyx::par_type pit, lyx::pos_type pos); - /// + FontIterator(LyXText const & text, Paragraph const & par, lyx::pos_type pos); + /// LyXFont operator*() const; /// FontIterator & operator++(); @@ -43,7 +44,7 @@ private: /// LyXText const & text_; /// - lyx::par_type pit_; + Paragraph const & par_; /// lyx::pos_type pos_; ///