sw: fix crash in OutMarkdown_SwTableNode
Seen in https://crashreport.libreoffice.org/stats/signature/static%20void%20%60anonymous%20namespace'::OutMarkdown_SwTableNode(class%20SwMDWriter%20&%20const,%20const%20class%20SwTableNode%20&%20const) Change-Id: Id7478428fc8d88fcaf5afc862748f051e5a81e28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208543 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -946,6 +946,8 @@ void OutMarkdown_SwTableNode(SwMDWriter& rWrt, const SwTableNode& rTableNode)
|
||||
{
|
||||
const SwTableBox* pBox = pLine->GetTabBoxes()[nBox];
|
||||
const SwStartNode* pStart = pBox->GetSttNd();
|
||||
if (!pStart)
|
||||
continue;
|
||||
SwNodeOffset nCellStartIndex = pStart->GetIndex() + 1;
|
||||
SwMDCellInfo& rStartInfo = aTableInfo.aCellInfos[nCellStartIndex];
|
||||
const SwEndNode* pEnd = pStart->EndOfSectionNode();
|
||||
|
||||
Reference in New Issue
Block a user