missed that part

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21753 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-23 23:08:40 +00:00
parent b89d0e2eb7
commit 7df235d649

View File

@ -126,9 +126,7 @@ void RenderPreview::metrics(MetricsInfo & mi, Dimension & dim) const
getPreviewImage(mi.base.bv->buffer());
if (pimage) {
dim.asc = pimage->ascent();
dim.des = pimage->descent();
dim.wid = pimage->width();
dim = pimage->dim();
} else {
dim.asc = 50;
dim.des = 0;