tdf#163486: PVS: Expression is always true
V560 A part of conditional expression is always true: pItem->mbVisible. Change-Id: Id9c55e610fa81003a5ad7661d98962aa6d48c062 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176579 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
7b7d935478
commit
9b3159b984
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ OUString ThumbnailView::RequestHelp(tools::Rectangle& rHelpRect)
|
|||
if (!pItem->mbVisible)
|
||||
continue;
|
||||
const tools::Rectangle& rDrawArea = pItem->getDrawArea();
|
||||
if (pItem->mbVisible && rDrawArea.Contains(aPos))
|
||||
if (rDrawArea.Contains(aPos))
|
||||
{
|
||||
rHelpRect = rDrawArea;
|
||||
return pItem->getHelpText();
|
||||
|
|
Loading…
Reference in a new issue