diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-26 00:07:33 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-26 06:30:58 +0100 |
commit | 761546e088dcccf3aa66c3f5c4853f110b93770f (patch) | |
tree | 94dc648b78e78d685aab8b8b8e41b370a5b9db54 /sw/source/core/docnode/node.cxx | |
parent | d3144a09dc5e2c21ffa34e3527bb6c94cd9926e8 (diff) |
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I1ac4c52ea51503373644bc58dcd4395c69f1a675
Reviewed-on: https://gerrit.libreoffice.org/64007
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/core/docnode/node.cxx')
-rw-r--r-- | sw/source/core/docnode/node.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index 19cafd55a313..5fe4e056c442 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -1868,7 +1868,7 @@ bool SwContentNode::IsAnyCondition( SwCollCondition& rTmp ) const const SwTableNode* pTableNd = pSttNd->FindTableNode(); const SwTableBox* pBox; if( pTableNd && nullptr != ( pBox = pTableNd->GetTable(). - GetTableBox( pSttNd->GetIndex() ) ) && pBox && + GetTableBox(pSttNd->GetIndex()) ) && pBox->IsInHeadline( &pTableNd->GetTable() ) ) nCond = Master_CollCondition::PARA_IN_TABLEHEAD; } |