Kaydet (Commit) 4546ef56 authored tarafından Caolán McNamara's avatar Caolán McNamara

*height* not width

Change-Id: I6ca792b9658e89d1b3dd147332e57625eb31256a
üst b7e6c845
...@@ -694,7 +694,7 @@ void VclGrid::calcMaxs(const array_type &A, std::vector<Value> &rWidths, std::ve ...@@ -694,7 +694,7 @@ void VclGrid::calcMaxs(const array_type &A, std::vector<Value> &rWidths, std::ve
bool bForceExpandAll = false; bool bForceExpandAll = false;
sal_Int32 nExpandables = 0; sal_Int32 nExpandables = 0;
for (sal_Int32 nSpanY = 0; nSpanY < nHeight; ++nSpanY) for (sal_Int32 nSpanY = 0; nSpanY < nHeight; ++nSpanY)
if (rWidths[y+nSpanY].m_bExpand) if (rHeights[y+nSpanY].m_bExpand)
++nExpandables; ++nExpandables;
if (nExpandables == 0) if (nExpandables == 0)
{ {
......
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