bridges: -Werror,-Wimplicit-fallthrough

Change-Id: I1ad51d4dc7e6bddfc5fa8d6252a7d6349bd5dfb7
This commit is contained in:
Michael Stahl 2016-06-20 14:37:23 +02:00
parent 633e6cf96e
commit d7777467a3
3 changed files with 5 additions and 2 deletions

View File

@ -107,6 +107,7 @@ void CPPU_CURRENT_NAMESPACE::callVirtualMethod(
case typelib_TypeClass_HYPER:
case typelib_TypeClass_UNSIGNED_HYPER:
static_cast<long*>(pRegisterReturn)[1] = edx;
SAL_FALLTHROUGH;
case typelib_TypeClass_LONG:
case typelib_TypeClass_UNSIGNED_LONG:
case typelib_TypeClass_CHAR:

View File

@ -323,7 +323,8 @@ extern "C" void cpp_vtable_call(
}
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
SAL_FALLTHROUGH; // else perform queryInterface()
}
default:
cpp2uno_call(
pCppI, aMemberDescr.get(),

View File

@ -348,7 +348,8 @@ void unoInterfaceProxyDispatch(
}
TYPELIB_DANGER_RELEASE( pTD );
}
} // else perform queryInterface()
SAL_FALLTHROUGH; // else perform queryInterface()
}
default:
// dependent dispatch
cpp_call(