Kaydet (Commit) bb4d6a0d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make it compile for iOS device, no idea whether it works

Change-Id: I56fdc4894347d9cce4d3b932d3b8740fcb4ef8b7
üst 21774213
......@@ -462,7 +462,8 @@ sal_Size bridges::cpp_uno::shared::VtableFactory::getBlockSize(
sal_Int32 slotCount)
{
#ifdef __arm
???
// ???
return (slotCount + 2) * sizeof (Slot);
#else
return (slotCount + 2) * sizeof (Slot);
#endif
......@@ -491,6 +492,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
OSL_ASSERT(member != 0);
switch (member->eTypeClass) {
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
{
#ifdef __arm
typelib_InterfaceAttributeTypeDescription *pAttrTD =
reinterpret_cast<typelib_InterfaceAttributeTypeDescription *>( member );
......@@ -520,8 +522,9 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
);
}
break;
}
case typelib_TypeClass_INTERFACE_METHOD:
{
#ifdef __arm
typelib_InterfaceMethodTypeDescription *pMethodTD =
reinterpret_cast<
......@@ -537,7 +540,7 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
#endif
);
break;
}
default:
OSL_ASSERT(false);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment