[Libreoffice-commits] core.git: vcl/win

Stephan Bergmann sbergman at redhat.com
Thu Aug 25 15:41:11 UTC 2016


 vcl/win/gdi/salnativewidgets-luna.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1594fd83c303139692c5dd6a7f2e236dbf99638e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 25 17:40:45 2016 +0200

    -Werror,-Wswitch (clang-cl)
    
    Change-Id: I874e103486dd77842a2299e0f20fe42ef6a7eaf5

diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx
index 4526f7a..c8e3b38 100644
--- a/vcl/win/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/gdi/salnativewidgets-luna.cxx
@@ -629,6 +629,7 @@ bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc,
                 case ControlPart::TrackHorzRight: iPart = SBP_LOWERTRACKHORZ; break;
                 case ControlPart::TrackVertUpper: iPart = SBP_UPPERTRACKVERT; break;
                 case ControlPart::TrackVertLower: iPart = SBP_LOWERTRACKVERT; break;
+                default: break;
             }
 
             if( nState & ControlState::PRESSED )


More information about the Libreoffice-commits mailing list