tdf#163486: PVS: Expression is always false
V560 A part of conditional expression is always false: pTable == nullptr. Change-Id: Id6f9a8ff3943fecbe77a4d339b3ca76e27a86605 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176585 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
4cde4b4b98
commit
80cea92291
1 changed files with 1 additions and 1 deletions
|
@ -2136,7 +2136,7 @@ bool SwFlyFrame::IsShowUnfloatButton(SwWrtShell* pWrtSh) const
|
||||||
{
|
{
|
||||||
pTable = static_cast<const SwTabFrame*>(pLower);
|
pTable = static_cast<const SwTabFrame*>(pLower);
|
||||||
++nTableCount;
|
++nTableCount;
|
||||||
if (nTableCount > 1 || pTable == nullptr)
|
if (nTableCount > 1)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue