From 065edb4c8e91170017df482843d0c3eb8d4db114 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 6 Nov 2018 10:12:29 +0300 Subject: tdf#120703 PVS: V547 Expression is always true/false Change-Id: I0b3c407331bfa1fa0c5003250d327d4f26de3643 Reviewed-on: https://gerrit.libreoffice.org/63235 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- svx/source/svdraw/svdhdl.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'svx/source/svdraw/svdhdl.cxx') diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 7dc05bc1a086..a53725c6ee1e 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -2098,11 +2098,7 @@ void SdrHdlList::SetFocusHdl(SdrHdl* pNew) pActual->Touch(); } - if(pNew) - { - pNew->Touch(); - } - + pNew->Touch(); } } } -- cgit