summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx3
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx3
-rw-r--r--bridges/source/jni_uno/jni_data.cxx2
3 files changed, 5 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index 44e773bc7cc5..c30249d08af7 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -364,7 +364,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_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
index 3a99aa9c71f4..647d3ec38b09 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_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(
diff --git a/bridges/source/jni_uno/jni_data.cxx b/bridges/source/jni_uno/jni_data.cxx
index f6b2db2b3028..44f1efbe0431 100644
--- a/bridges/source/jni_uno/jni_data.cxx
+++ b/bridges/source/jni_uno/jni_data.cxx
@@ -1738,7 +1738,7 @@ void Bridge::map_to_java(
jni.ensure_no_exception();
break;
}
- // fall through
+ SAL_FALLTHROUGH;
}
default:
{