mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
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:
parent
3f358459fc
commit
aa670e90c8
@ -311,6 +311,11 @@ bool TextMetrics::redoParagraph(pit_type const pit)
|
|||||||
void TextMetrics::computeRowMetrics(pit_type const pit,
|
void TextMetrics::computeRowMetrics(pit_type const pit,
|
||||||
Row & row) const
|
Row & row) const
|
||||||
{
|
{
|
||||||
|
|
||||||
|
row.label_hfill = 0;
|
||||||
|
row.hfill = 0;
|
||||||
|
row.separator = 0;
|
||||||
|
|
||||||
Buffer & buffer = bv_->buffer();
|
Buffer & buffer = bv_->buffer();
|
||||||
Paragraph const & par = text_->getPar(pit);
|
Paragraph const & par = text_->getPar(pit);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user