diff options
-rw-r--r-- | vcl/source/window/layout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index a9aaf4c243bb..e82f5b6c970c 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -694,7 +694,7 @@ void VclGrid::calcMaxs(const array_type &A, std::vector<Value> &rWidths, std::ve bool bForceExpandAll = false; sal_Int32 nExpandables = 0; for (sal_Int32 nSpanY = 0; nSpanY < nHeight; ++nSpanY) - if (rWidths[y+nSpanY].m_bExpand) + if (rHeights[y+nSpanY].m_bExpand) ++nExpandables; if (nExpandables == 0) { |