Abdel can't seee anythin wrong with that

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26472 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-09-21 01:39:00 +00:00
parent 082b4dbb3f
commit b35d3bfc5c

View File

@ -425,8 +425,10 @@ bool TextMetrics::redoParagraph(pit_type const pit)
MetricsInfo mi(bv_, font.fontInfo(), w, mc); MetricsInfo mi(bv_, font.fontInfo(), w, mc);
ii->inset->metrics(mi, dim); ii->inset->metrics(mi, dim);
Dimension const old_dim = pm.insetDimension(ii->inset); Dimension const old_dim = pm.insetDimension(ii->inset);
pm.setInsetDimension(ii->inset, dim); if (old_dim != dim) {
changed |= (old_dim != dim); pm.setInsetDimension(ii->inset, dim);
changed = true;
}
} }
par.setBeginOfBody(); par.setBeginOfBody();