diff options
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, |