From 81ad706b95ea0e350cf5ccc8fcb18ca4b375bffa Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 May 2016 11:20:14 +0200 Subject: Replace comment with SAL_FALLTHROUGH Change-Id: I9ccba0369453af3b4b3328b9fca94429369c6524 --- bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx | 3 ++- bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx index 82c42da7b464..d80a66a860b6 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx @@ -365,7 +365,8 @@ typelib_TypeClass cpp_vtable_call( } TYPELIB_DANGER_RELEASE( pTD ); } - } // else perform queryInterface() + SAL_FALLTHROUGH; // else perform queryInterface() + } default: { typelib_InterfaceMethodTypeDescription *pMethodTD = diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx index 02cbeaa008fc..1555f55b7bf8 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx @@ -424,7 +424,8 @@ void unoInterfaceProxyDispatch( } TYPELIB_DANGER_RELEASE( pTD ); } - } // else perform queryInterface() + SAL_FALLTHROUGH; // else perform queryInterface() + } default: // dependent dispatch cpp_call( -- cgit