]> git.lyx.org Git - features.git/blobdiff - src/rowpainter.cpp
Transfer Paragraph::hfillExpansion() to ParagraphMetrics. This also reduce the depend...
[features.git] / src / rowpainter.cpp
index d20c644ca433373a7ac246b116d0a4aa8b9a5093..d8b05eb1c1e0d9819050521e974c889fb8a63fd4 100644 (file)
@@ -96,7 +96,7 @@ void RowPainter::paintHfill(pos_type const pos, pos_type const body_pos)
 
        pi_.pain.line(int(x_), y1, int(x_), y0, Color::added_space);
 
-       if (par_.hfillExpansion(row_, pos)) {
+       if (pm_.hfillExpansion(row_, pos)) {
                int const y2 = (y0 + y1) / 2;
 
                if (pos >= body_pos) {