From cc786534d88973d065aefc150819e75fdd9796fa Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Tue, 25 Mar 2008 21:36:54 +0000 Subject: [PATCH] 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 --- src/insets/InsetTabular.cpp | 6 ------ 1 file changed, 6 deletions(-) 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; -- 2.39.2