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 /bridges | |
parent | 3ec901fab2cb3e1a1c8222498761e72c28175bd3 (diff) |
SAL_FALLTRHOUGH in Windows-only code
Change-Id: If35da46c209746a86687e1c3f60f72f2f08aa681
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx | 3 | ||||
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx index a37b391168d2..a1a27c126970 100644 --- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx @@ -338,7 +338,8 @@ extern "C" typelib_TypeClass cpp_vtable_call( } TYPELIB_DANGER_RELEASE( pTD2 ); } - } // Fall through! + SAL_FALLTHROUGH; + } default: { typelib_InterfaceMethodTypeDescription * pMethodTD = diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx index 65ca1ee20e9a..05d3ec9f7408 100644 --- a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx @@ -423,7 +423,8 @@ void unoInterfaceProxyDispatch( } TYPELIB_DANGER_RELEASE( pTD ); } - } // Else perform queryInterface() + SAL_FALLTHROUGH; // else perform queryInterface() + } default: if ( ! cpp_call( pThis, aVtableSlot, |