vcl/unx/kde4/KDESalGraphics.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 149edab4435256b13a8681ac69bd4c35f6da8bb7
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Jun 20 12:28:21 2016 +0200

    -Werror,-Wswitch
    
    Change-Id: I319f932f24a5b4c2eb331eac6795731a1bc483ca

diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index e6536e3..a31eca9 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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to