summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-25 08:42:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-25 08:42:15 +0200
commita890e3189b4146aba3dfaf2f3e1ac212bb02c8a4 (patch)
treeb1fdc3e25e11fcdcbe2456753a244abd2b3ca25a /bridges
parent3ec901fab2cb3e1a1c8222498761e72c28175bd3 (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.cxx3
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx3
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,