summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-07 14:49:07 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 18:55:52 +0000
commit14301589d796b60eb219d52575ff89b629f67f26 (patch)
treedb26cab3d2377866aba114557974fbead28c8319 /accessibility
parentf9028f1945e3ad87cda1b3001611632b1b424467 (diff)
style fix for cppcheck redundantCondition
Change-Id: I5d02c6f4c6b411c23a6de43374884a76e1c408fe Reviewed-on: https://gerrit.libreoffice.org/30667 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/standard/vclxaccessiblebox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx
index ddc12ec2e4ca..9af428efa24f 100644
--- a/accessibility/source/standard/vclxaccessiblebox.cxx
+++ b/accessibility/source/standard/vclxaccessiblebox.cxx
@@ -353,7 +353,7 @@ sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole() throw (RuntimeExceptio
// VCL list boxes in DropDown-Mode else <const>PANEL</const>.
// This way the Java bridge has not to handle both independently.
//return m_bIsDropDownBox ? AccessibleRole::COMBO_BOX : AccessibleRole::PANEL;
- if (m_bIsDropDownBox || (!m_bIsDropDownBox && m_aBoxType == COMBOBOX ))
+ if (m_bIsDropDownBox || (m_aBoxType == COMBOBOX))
return AccessibleRole::COMBO_BOX;
else
return AccessibleRole::PANEL;