From: Edwin Leuven Date: Tue, 25 Mar 2008 21:36:54 +0000 (+0000) Subject: don't know what i am doing here, but removing this doesn't seem to have any side... X-Git-Tag: 1.6.10~5433 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cc786534d88973d065aefc150819e75fdd9796fa;p=features.git don't know what i am doing here, but removing this doesn't seem to have any side effects git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23956 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index d7ffb3446d..1a3a845962 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2870,12 +2870,6 @@ void InsetTabular::metrics(MetricsInfo & mi, Dimension & dim) const if (!p_width.zero()) dim.wid = m.base.textwidth; tabular.setCellWidth(cell, dim.wid); - if (p_width.zero()) { - m.base.textwidth = dim.wid + 2 * ADD_TO_TABULAR_WIDTH; - // FIXME there must be a way to get rid of - // the second metrics call - tabular.cellInset(cell)->metrics(m, dim); - } maxAsc = max(maxAsc, dim.asc); maxDesc = max(maxDesc, dim.des); ++cell;