summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-19 20:10:53 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-20 23:39:19 +0300
commitef5e3bfc71f94f77ecd13df9afe2fa768b020dbb (patch)
treea0c1eee93a0129433dfe62990b77b364919e4c0c /bridges
parent676c9786ff8fac6a6593df51bd9cb3f10854a781 (diff)
SAL_FALLTHROUGH
Change-Id: I9b13e20b873e919aef93e5c7548112c47f57612e
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx1
-rw-r--r--bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx3
2 files changed, 3 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx
index 1f77e4970791..92b053cb328f 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx
@@ -402,6 +402,7 @@ namespace
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
+ SAL_FALLTHROUGH;
default:
eRet = cpp2uno_call(
pCppI, aMemberDescr.get(),
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx
index 24a5704a6bfd..45491094ceb6 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm64.cxx
@@ -77,7 +77,7 @@ void MapReturn(sal_uInt64 x0, sal_uInt64 x1, typelib_TypeDescriptionReference *p
case typelib_TypeClass_HYPER:
case typelib_TypeClass_UNSIGNED_HYPER:
pRegisterReturn[1] = x1;
- // fallthrough
+ SAL_FALLTHROUGH;
case typelib_TypeClass_LONG:
case typelib_TypeClass_UNSIGNED_LONG:
case typelib_TypeClass_ENUM:
@@ -525,6 +525,7 @@ void unoInterfaceProxyDispatch(
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
+ SAL_FALLTHROUGH;
default:
// dependent dispatch
cpp_call(