rowpainter.cpp: remove hack introduced in r35299

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-09-18 17:29:37 +00:00
parent bfd5447fdd
commit 85a40507e4

View File

@ -103,9 +103,6 @@ void RowPainter::paintInset(Inset const * inset, pos_type const pos)
// requires a full repaint
bool pi_full_repaint = pi_.full_repaint;
// FIXME: text_metrics_.width() is only about 1.0857 * mi.base.textwidth
pi_.base.textwidth = text_metrics_.width();
// FIXME: We should always use font, see documentation of
// noFontChange() in Inset.h.
pi_.base.font = inset->noFontChange() ?