diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-20 12:28:21 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-18 11:05:38 +0000 |
commit | 00e4f39b319d45489b73807df37d8918c725b8bb (patch) | |
tree | 82b005c805b064a45061161b7b64e9a5570ec6d9 /vcl | |
parent | aec55b660a0e0348201825f48de02ce069c5b3f3 (diff) |
-Werror,-Wswitch
Change-Id: I319f932f24a5b4c2eb331eac6795731a1bc483ca
(cherry picked from commit 149edab4435256b13a8681ac69bd4c35f6da8bb7)
Reviewed-on: https://gerrit.libreoffice.org/30957
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
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); |