]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphMetrics.cpp
Add Nomenclature to the TOC.
[lyx.git] / src / ParagraphMetrics.cpp
index 85e57683df9208f20dfe80f3199d330eaf198cec..e6541fdb0b3090958fe89c035d9eb05b93cb98a1 100644 (file)
@@ -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())