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
This commit is contained in:
Alfredo Braunstein 2007-09-02 09:07:07 +00:00
parent 3f358459fc
commit aa670e90c8

View File

@ -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);