]> git.lyx.org Git - lyx.git/blobdiff - src/FontIterator.h
Make string conversion work with non-ucs2-characters if using qt 4.2
[lyx.git] / src / FontIterator.h
index 497915cea423c960654f5c0c10e70bf953f237d6..87686bdee16994a5d306f0b8bf2ec6598600a315 100644 (file)
@@ -27,6 +27,7 @@
 
 namespace lyx {
 
+class Buffer;
 class LyXText;
 class Paragraph;
 
@@ -35,7 +36,8 @@ class FontIterator : std::iterator<std::forward_iterator_tag, LyXFont>
 {
 public:
        ///
-       FontIterator(LyXText const & text, Paragraph const & par, pos_type pos);
+       FontIterator(Buffer const & buffer, LyXText const & text,
+               Paragraph const & par, pos_type pos);
        ///
        LyXFont const & operator*() const;
        ///
@@ -44,6 +46,8 @@ public:
        LyXFont * operator->();
 
 private:
+       ///
+       Buffer const & buffer_;
        ///
        LyXText const & text_;
        ///