+2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * FontIterator.C (operator*): avoid a copy of the font.
+
2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
* rowpainter.C (getFont): fix language bug from previous fix
{}
-LyXFont FontIterator::operator*() const
+LyXFont const & FontIterator::operator*() const
{
return font_;
}
///
FontIterator(LyXText const & text, Paragraph const & par, lyx::pos_type pos);
///
- LyXFont operator*() const;
+ LyXFont const & operator*() const;
///
FontIterator & operator++();
///