summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/text/txtfrm.cxx2
1 files changed, 1 insertions, 1 deletions
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();