From: Alfredo Braunstein Date: Sun, 2 Sep 2007 09:07:07 +0000 (+0000) Subject: metrics fix: reset some Row values to default in top of computeRowMetrics as the... X-Git-Tag: 1.6.10~8555 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=aa670e90c8b91c542ddad5fb78b844bb62bdfd43;p=features.git metrics fix: reset some Row values to default in top of computeRowMetrics as the code there assumes it git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19990 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 0e3a5be980..08bd5b62a0 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -311,6 +311,11 @@ bool TextMetrics::redoParagraph(pit_type const pit) void TextMetrics::computeRowMetrics(pit_type const pit, Row & row) const { + + row.label_hfill = 0; + row.hfill = 0; + row.separator = 0; + Buffer & buffer = bv_->buffer(); Paragraph const & par = text_->getPar(pit);