X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontIterator.h;h=04d05dde7aa69d1df74f65476d9254ae8ea2268a;hb=12dbcf2ee1792391a81d265ee8875ccf621033ca;hp=5511c420e3c93784ce61272166a218e3ae48aa6f;hpb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;p=lyx.git diff --git a/src/FontIterator.h b/src/FontIterator.h index 5511c420e3..04d05dde7a 100644 --- a/src/FontIterator.h +++ b/src/FontIterator.h @@ -9,7 +9,7 @@ * Full author contact details are available in file CREDITS. * * - * Calling LyXText::getFont is slow. While rebreaking we scan a + * Calling Text::getFont is slow. While rebreaking we scan a * paragraph from left to right calling getFont for every char. This * simple class address this problem by hidding an optimization trick * (not mine btw -AB): the font is reused in the whole font span. The @@ -28,7 +28,7 @@ namespace lyx { class Buffer; -class LyXText; +class Text; class Paragraph; @@ -36,7 +36,7 @@ class FontIterator : std::iterator { public: /// - FontIterator(Buffer const & buffer, LyXText const & text, + FontIterator(Buffer const & buffer, Text const & text, Paragraph const & par, pos_type pos); /// Font const & operator*() const; @@ -49,7 +49,7 @@ private: /// Buffer const & buffer_; /// - LyXText const & text_; + Text const & text_; /// Paragraph const & par_; ///