summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-31 21:16:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-01 22:10:39 +0000
commitbaa5fca0fe50334d0820941763b5e18a244e9921 (patch)
treec971e3250b39af016bce41b86a87c77552ef7bb2 /vcl
parentdcf8f9622caa77a7f337d6b8c334605a9693dc26 (diff)
coverity#1267676 Identical code for different branches
Change-Id: Ia7abc084acb0f9e8a25e93fa86bf254eee7cda21
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/kde4/KDESalGraphics.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index 0c43fd2856da..f38378815030 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -46,13 +46,11 @@ QStyle::State vclStateValue2StateFlag( ControlState nControlState,
const ImplControlValue& aValue )
{
QStyle::State nState =
- ( (nControlState & ControlState::DEFAULT)? QStyle::State_None: QStyle::State_None ) |
( (nControlState & ControlState::ENABLED)? QStyle::State_Enabled: QStyle::State_None ) |
( (nControlState & ControlState::FOCUSED)? QStyle::State_HasFocus: QStyle::State_None ) |
( (nControlState & ControlState::PRESSED)? QStyle::State_Sunken: QStyle::State_None ) |
( (nControlState & ControlState::SELECTED)? QStyle::State_Selected : QStyle::State_None ) |
( (nControlState & ControlState::ROLLOVER)? QStyle::State_MouseOver: QStyle::State_None );
- //TODO ( (nControlState & ControlState::HIDDEN)? QStyle::State_: QStyle::State_None ) |
switch ( aValue.getTristateVal() )
{