summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-06-20 09:22:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-06-20 12:34:58 +0100
commit83524482162caf4b875a6ea2c404f5aca46b26a0 (patch)
tree01b01be9471146f093a9a09533597b4161ceb29e /sc/source/ui
parentaab2af1557d00a76258899c97bc024e85adb0ba0 (diff)
cppcheck: redundantCondition
Change-Id: I02566ed92197a2573cd4a1a6c7e9fe54aeab3301
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index b3634b98cf9e..32e2e11364fa 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1707,7 +1707,7 @@ void ScCheckListBox::CheckEntry( SvTreeListEntry* pParent, bool bCheck )
SvTreeListEntry* ScCheckListBox::ShowCheckEntry( const OUString& sName, ScCheckListMember& rMember, bool bShow, bool bCheck )
{
SvTreeListEntry* pEntry = nullptr;
- if ( !rMember.mbDate || ( rMember.mbDate && rMember.mpParent ) )
+ if (!rMember.mbDate || rMember.mpParent)
pEntry = FindEntry( rMember.mpParent, sName );
if ( bShow )