X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontIterator.h;h=44ecb3790813371662cc0c4de11a9cb2a7b628fb;hb=2417d9d911dbca181c48f45d1aad26d31c9aa815;hp=04d05dde7aa69d1df74f65476d9254ae8ea2268a;hpb=e0d54dd3b497b78094ea16ab0f38ccdc8c1642e2;p=lyx.git diff --git a/src/FontIterator.h b/src/FontIterator.h index 04d05dde7a..44ecb37908 100644 --- a/src/FontIterator.h +++ b/src/FontIterator.h @@ -27,17 +27,16 @@ namespace lyx { -class Buffer; -class Text; class Paragraph; +class TextMetrics; class FontIterator : std::iterator { public: /// - FontIterator(Buffer const & buffer, Text const & text, - Paragraph const & par, pos_type pos); + FontIterator(TextMetrics const & tm, + Paragraph const & par, pit_type pit, pos_type pos); /// Font const & operator*() const; /// @@ -47,12 +46,12 @@ public: private: /// - Buffer const & buffer_; - /// - Text const & text_; + TextMetrics const & tm_; /// Paragraph const & par_; /// + pit_type pit_; + /// pos_type pos_; /// Font font_;