diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-20 12:28:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-20 12:28:21 +0200 |
commit | 149edab4435256b13a8681ac69bd4c35f6da8bb7 (patch) | |
tree | 0d3c57107415f2c98c2d3786097aaf9d362242fa /vcl | |
parent | 487a6b491f8a514541eccf3aef20277493c66744 (diff) |
-Werror,-Wswitch
Change-Id: I319f932f24a5b4c2eb331eac6795731a1bc483ca
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde4/KDESalGraphics.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index e6536e30ad64..a31eca9a6515 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -403,6 +403,8 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, draw( QStyle::CC_ComboBox, &option, m_image.get(), vclStateValue2StateFlag(nControlState, value) ); break; + default: + break; } } else if (type == ControlType::ListNode) @@ -761,6 +763,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part, case ControlPart::ListboxWindow: retVal = true; break; + default: + break; } break; } @@ -814,6 +818,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part, w = QApplication::style()->pixelMetric(QStyle::PM_ExclusiveIndicatorWidth); retVal = true; break; + default: + break; } if (retVal) { contentRect = QRect(0, 0, w, h); |