Kaydet (Commit) ea0e5ac6 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: Null-deref

Change-Id: Iffca72883eacb9502b14751b02c0bc61110614b8
üst 042d9a5a
...@@ -399,7 +399,8 @@ void SwHTMLParser::EndNumBulList( HtmlTokenId nToken ) ...@@ -399,7 +399,8 @@ void SwHTMLParser::EndNumBulList( HtmlTokenId nToken )
// On the last append, the NumRule item and NodeNum object were copied. // On the last append, the NumRule item and NodeNum object were copied.
// Now we need to delete them. ResetAttr deletes the NodeNum object as well // Now we need to delete them. ResetAttr deletes the NodeNum object as well
m_pPam->GetNode().GetTextNode()->ResetAttr( RES_PARATR_NUMRULE ); if (SwTextNode *pTextNode = m_pPam->GetNode().GetTextNode())
pTextNode->ResetAttr(RES_PARATR_NUMRULE);
rInfo.Clear(); rInfo.Clear();
} }
......
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