]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow_funcs.C
small stuff, whitespace & consistent naming
[lyx.git] / src / lyxrow_funcs.C
index e7af3d086fa557af4a56c55700e8efb9b65df7db..035aba648ac73dd35b11f09b71ea975fa0abb680 100644 (file)
@@ -61,10 +61,9 @@ int numberOfHfills(Paragraph const & par, Row const & row)
        pos_type first = row.pos();
 
        // hfill *DO* count at the beginning of paragraphs!
-       if (first) {
+       if (first)
                while (first < last && par.isHfill(first))
                        ++first;
-       }
 
        first = max(first, par.beginningOfBody());
 
@@ -88,10 +87,9 @@ int numberOfLabelHfills(Paragraph const & par, Row const & row)
        pos_type first = row.pos();
 
        // hfill *DO* count at the beginning of paragraphs!
-       if (first) {
+       if (first)
                while (first < last && par.isHfill(first))
                        ++first;
-       }
 
        last = min(last, par.beginningOfBody());
        int n = 0;