diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-25 08:42:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-25 08:42:15 +0200 |
commit | a890e3189b4146aba3dfaf2f3e1ac212bb02c8a4 (patch) | |
tree | b1fdc3e25e11fcdcbe2456753a244abd2b3ca25a /vcl | |
parent | 3ec901fab2cb3e1a1c8222498761e72c28175bd3 (diff) |
SAL_FALLTRHOUGH in Windows-only code
Change-Id: If35da46c209746a86687e1c3f60f72f2f08aa681
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salgdi2.cxx | 1 | ||||
-rw-r--r-- | vcl/win/window/salframe.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/vcl/win/gdi/salgdi2.cxx b/vcl/win/gdi/salgdi2.cxx index 2104bdb7469f..8514e73c1523 100644 --- a/vcl/win/gdi/salgdi2.cxx +++ b/vcl/win/gdi/salgdi2.cxx @@ -50,6 +50,7 @@ bool WinSalGraphics::supportsOperation( OutDevSupportType eType ) const break; case OutDevSupport_B2DDraw: bRet = bAllowForTest; + break; default: break; } return bRet; diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index a7168989505c..6b5fa26b071c 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -5707,6 +5707,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP case WM_KILLFOCUS: DestroyCaret(); + SAL_FALLTHROUGH; case WM_SETFOCUS: case SAL_MSG_POSTFOCUS: ImplHandleFocusMsg( hWnd ); |