diff -uNr sw.old/source/core/docnode/ndtbl1.cxx sw.new/source/core/docnode/ndtbl1.cxx --- sw.old/source/core/docnode/ndtbl1.cxx 2008-06-13 17:41:50.000000000 +0800 +++ sw.new/source/core/docnode/ndtbl1.cxx 2009-02-11 10:05:20.000000000 +0800 @@ -464,13 +464,9 @@ for ( i = 0; i < aRowArr.Count(); ++i ) { - SwClientIter aIter( *((SwTableLine*)aRowArr[i])->GetFrmFmt() ); - SwFrm* pFrm = (SwFrm*)aIter.First( TYPE(SwFrm) ); - while ( pFrm ) - { - nHeight = Max( nHeight, pFrm->Frm().Height() ); - pFrm = (SwFrm*)aIter.Next(); - } + bool bLayoutAvailable = TRUE; + long TempLineHeight = (long)((SwTableLine*)aRowArr[i])->GetTableLineHeight(bLayoutAvailable); + nHeight = Max( nHeight, TempLineHeight ); } SwFmtFrmSize aNew( ATT_MIN_SIZE, 0, nHeight );