svx/source/svdraw/svdview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6454428f1d6c3d759ea2aa61406a24f04faebbff Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Thu Nov 14 11:37:05 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Nov 14 13:55:35 2024 +0100 tdf#163486: PVS: Expression is always true V560 A part of conditional expression is always true: pView. Change-Id: I6c01996c66a0c1488080da532734c3c05820337d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176581 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 4e2ffd113bd0..665e932a18c9 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1371,7 +1371,7 @@ void SdrView::MarkAll() { const SdrObject* pObj(rMarkList.GetMark(0)->GetMarkedSdrObj()); SdrView* pView = this; - if (pObj && pView && (pObj->GetObjInventor() == SdrInventor::Default) + if (pObj && (pObj->GetObjInventor() == SdrInventor::Default) && (pObj->GetObjIdentifier() == SdrObjKind::Table)) { mxSelectionController.clear();