Kaydet (Commit) ec40733b authored tarafından Noel Grandin's avatar Noel Grandin

cid#705932 dereference before null check

Change-Id: I29f407effb4381e3f8505e487b2a4e9d7bd6828e
üst 64e40e16
......@@ -397,11 +397,10 @@ static void GetFormatAndCreateCursorFromRangeRep(
// is the correct table format already provided?
if (*ppTblFmt != NULL && (*ppTblFmt)->GetName() == aTblName)
pTblFmt = *ppTblFmt;
else if (ppTblFmt)
else
GetTableByName( *pDoc, aTblName, &pTblFmt, NULL );
if (ppTblFmt)
*ppTblFmt = pTblFmt;
*ppTblFmt = pTblFmt;
if (ppUnoCrsr != NULL)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment