diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-20 09:22:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-20 12:34:58 +0100 |
commit | 83524482162caf4b875a6ea2c404f5aca46b26a0 (patch) | |
tree | 01b01be9471146f093a9a09533597b4161ceb29e /sc/source/ui | |
parent | aab2af1557d00a76258899c97bc024e85adb0ba0 (diff) |
cppcheck: redundantCondition
Change-Id: I02566ed92197a2573cd4a1a6c7e9fe54aeab3301
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 2 |
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 ) |