]> git.lyx.org Git - lyx.git/blobdiff - src/FontIterator.h
Prepare for InsetTableCell.
[lyx.git] / src / FontIterator.h
index b5417877df4f5891fed94ae560bce4e9e6422086..ce5d9369cff598c20b870a38afb87f1ce164f5b6 100644 (file)
@@ -31,12 +31,12 @@ class Paragraph;
 class TextMetrics;
 
 
-class FontIterator : std::iterator<std::forward_iterator_tag, Font>
+class FontIterator
 {
 public:
        ///
        FontIterator(TextMetrics const & tm,
-               Paragraph const & par, pos_type pos);
+               Paragraph const & par, pit_type pit, pos_type pos);
        ///
        Font const & operator*() const;
        ///
@@ -50,6 +50,8 @@ private:
        ///
        Paragraph const & par_;
        ///
+       pit_type pit_;
+       ///
        pos_type pos_;
        ///
        Font font_;