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:
@@ -2136,7 +2136,7 @@ bool SwFlyFrame::IsShowUnfloatButton(SwWrtShell* pWrtSh) const
|
||||
{
|
||||
pTable = static_cast<const SwTabFrame*>(pLower);
|
||||
++nTableCount;
|
||||
if (nTableCount > 1 || pTable == nullptr)
|
||||
if (nTableCount > 1)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user