Kaydet (Commit) 02ee8445 authored tarafından Michael Stahl's avatar Michael Stahl

coverity#1441443 SwTextFrame always has a SwTextNode

Change-Id: I9453ec9f3021702d89efed0adcf3422a59ae28ae
Reviewed-on: https://gerrit.libreoffice.org/63530
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst c06570c6
......@@ -3307,7 +3307,7 @@ void SwTextFrame::CalcAdditionalFirstLineOffset()
const SwTextNode* pTextNode( GetTextNodeForParaProps() );
// sw_redlinehide: check that pParaPropsNode is the correct one
assert(pTextNode->IsNumbered(getRootFrame()) == pTextNode->IsNumbered(nullptr));
if (pTextNode && pTextNode->IsNumbered(getRootFrame()) &&
if (pTextNode->IsNumbered(getRootFrame()) &&
pTextNode->IsCountedInList() && pTextNode->GetNumRule())
{
int nListLevel = pTextNode->GetActualListLevel();
......
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