Kaydet (Commit) 02ef234b authored tarafından Caolán McNamara's avatar Caolán McNamara

fix homogeneous grid spanning row/col handling

Change-Id: I26ca29f2b02a1587cfe94d5342809f51a207a194
üst cfa4f622
......@@ -801,13 +801,13 @@ VclGrid::array_type VclGrid::assembleGrid() const
if (get_column_homogeneous())
{
for (sal_Int32 nSpanX = 1; nSpanX < rEntry.nSpanWidth; ++nSpanX)
aNonEmptyCols[x+1] = true;
aNonEmptyCols[x+nSpanX] = true;
}
aNonEmptyRows[y] = true;
if (get_row_homogeneous())
{
for (sal_Int32 nSpanY = 1; nSpanY < rEntry.nSpanHeight; ++nSpanY)
aNonEmptyRows[x+1] = true;
aNonEmptyRows[y+nSpanY] = true;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment