sw/source/core/text/txtfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 02ee8445bb7360617d8759eb27575395992e1e13 Author: Michael Stahl <michael.st...@cib.de> AuthorDate: Sun Nov 18 19:34:39 2018 +0100 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Sun Nov 18 20:34:20 2018 +0100 coverity#1441443 SwTextFrame always has a SwTextNode Change-Id: I9453ec9f3021702d89efed0adcf3422a59ae28ae Reviewed-on: https://gerrit.libreoffice.org/63530 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@cib.de> diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index bc5f6e9cfa0f..4b3b0fb704a1 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits