SAL_FALLTHROUGH

Change-Id: I9b13e20b873e919aef93e5c7548112c47f57612e
This commit is contained in:
Tor Lillqvist 2016-08-19 20:10:53 +03:00
parent 676c9786ff
commit ef5e3bfc71
2 changed files with 3 additions and 1 deletions

View File

@ -402,6 +402,7 @@ namespace
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
SAL_FALLTHROUGH;
default:
eRet = cpp2uno_call(
pCppI, aMemberDescr.get(),

View File

@ -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(