X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphMetrics.cpp;h=e6541fdb0b3090958fe89c035d9eb05b93cb98a1;hb=410c716bf703dae98c2064d555b9e2b7678555ee;hp=85e57683df9208f20dfe80f3199d330eaf198cec;hpb=d2f2148c90bdb036d6ce04fdf9b95c84239fee13;p=lyx.git diff --git a/src/ParagraphMetrics.cpp b/src/ParagraphMetrics.cpp index 85e57683df..e6541fdb0b 100644 --- a/src/ParagraphMetrics.cpp +++ b/src/ParagraphMetrics.cpp @@ -257,9 +257,8 @@ bool ParagraphMetrics::hfillExpansion(Row const & row, pos_type pos) const } // expand at the beginning of a row only if it is the first row of a paragraph - if (pos == row.pos()) { + if (pos == row.pos()) return pos == 0; - } // do not expand in some labels if (par_->layout().margintype != MARGIN_MANUAL && pos < par_->beginOfBody())