ofz#58529 Null-dereference READ
Change-Id: I9d8ea7d40429faee94889e4d2d9df7440b18e65f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151255 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -192,6 +192,8 @@ void LwpRowLayout::ConvertRow(rtl::Reference<XFTable> const & pXFTable,sal_uInt8
|
|||||||
if (!pTableLayout)
|
if (!pTableLayout)
|
||||||
throw std::runtime_error("missing TableLayout");
|
throw std::runtime_error("missing TableLayout");
|
||||||
LwpTable* pTable = pTableLayout->GetTable();
|
LwpTable* pTable = pTableLayout->GetTable();
|
||||||
|
if (!pTable)
|
||||||
|
throw std::runtime_error("missing Table");
|
||||||
|
|
||||||
//calculate the connected cell position
|
//calculate the connected cell position
|
||||||
sal_Int32 nMarkConnCell = FindMarkConnCell(nStartCol,nEndCol);
|
sal_Int32 nMarkConnCell = FindMarkConnCell(nStartCol,nEndCol);
|
||||||
|
Reference in New Issue
Block a user