fix assert when loading id:000059,sig:11,src:000008,op:havoc,rep:2.lwp
one of caolans test files, which appears to have a row layout which references a non-existent parent. Change-Id: I9322ed430aa9edd47db9967a19938b02e4af6bc7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90475 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
cdd4f1cafe
commit
39fa33d010
1 changed files with 1 additions and 4 deletions
|
@ -713,10 +713,7 @@ void LwpConnectedCellLayout::SetCellMap()
|
|||
LwpCellBorderType LwpConnectedCellLayout::GetCellBorderType(sal_uInt16 nRow, sal_uInt16 nCol, LwpTableLayout * pTableLayout)
|
||||
{
|
||||
if (!pTableLayout)
|
||||
{
|
||||
assert(false);
|
||||
return enumWholeBorder;
|
||||
}
|
||||
throw std::runtime_error("missing table layout");
|
||||
|
||||
sal_uInt16 nRowSpan = m_nRealrowspan;
|
||||
|
||||
|
|
Loading…
Reference in a new issue