Fix crash with InsetHFill. The inset position was not cached in the CoordCache.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21758 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-24 07:47:01 +00:00
parent 6820b61afa
commit c201e0dde7

View File

@ -773,6 +773,8 @@ void RowPainter::paintText()
}
if (par_.isHfill(pos)) {
Inset const * inset = par_.getInset(pos);
pi_.base.bv->coordCache().insets().add(inset, int(x_), yo_);
paintHfill(pos, body_pos);
++vpos;